VirtusLab-Open-Source / strapi-plugin-comments

A plugin for Strapi Headless CMS that provides end to end comments feature with their moderation panel, bad words filtering, abuse reporting and more.
MIT License
413 stars 65 forks source link

fix: custom field on existing entity #178

Closed CodeVoyager closed 1 year ago

CodeVoyager commented 1 year ago

Ticket

https://github.com/VirtusLab-Open-Source/strapi-plugin-comments/issues/175

Summary

What does this PR do/solve?

This PR fixes error happening when custom field is added to already existing entity.

Test Plan

  1. Create a content type
  2. Create content type's item
  3. Add comments custom field
  4. Edit existing item
  5. No error should be presented
  6. Warning should be present in browser's console