Skip to content

Unable to Approve comment from admin panel #250

@cyp3rius

Description

@cyp3rius

Discussed in #245

Originally posted by hassan-debug January 31, 2024
I just install comment plugin and here is my confin/plugin.js

module.exports = ({ env }) => ({
  comments: {
    enabled: true,
    enabledCollections: ['api::post.post'],
    config: {
      badWords: false,
      moderatorRoles: ['Authenticated'],
      approvalFlow: ['api::post.post'],
      entryLabel: {
        '*': ['Title', 'title', 'Name', 'name', 'Subject', 'subject'],
        'api::page.page': ['MyField']
      },
      blockedAuthorProps: ['name', 'email'],
      reportReasons: {
        MY_CUSTOM_REASON: 'MY_CUSTOM_REASON'
      }
    }
  }
});

i posted comments from comment api here is the list
Screenshot 2024-01-31 at 4 24 04 pm

but when i open a comment there is no option to approve a comment or delete users comment (i am loggedin as super admin)
Screenshot 2024-01-31 at 4 27 12 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingv4Strapi v4

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions