Internal comments added on External cannot be deleted on Shared Page

Description

Internal comments added on External cannot be deleted on Shared Page.
Observation:

  • Delete pop-up can be canceled

  • Internal comment disappear on reloading the page

  • Add Internal comment button appears bright when Reply to customer is also enabled

  • Internal comments can be deleted correctly when Add/View public comments is enabled


Steps to Reproduce:

  1. Create a share on any JSM project

  2. Enable the "Add internal comments" option.

  3. Navigate to Comments > Add content > Click on Add Internal comment button

  4. Delete comment

  5. Observe Comment cannot be deleted

Expected result

Comment should be deleted or Page should refresh on adding internal comment on shared page.

Actual result

Internal comments added on External cannot be deleted on Shared Page.