[common] Bug 48484

This commit is contained in:
SergeyEzhin 2021-06-03 00:31:39 +03:00
parent ddae1f9da3
commit c2d5da8395

View file

@ -478,6 +478,7 @@ class ViewCommentsController extends Component {
} }
deleteComment (comment) { deleteComment (comment) {
const api = Common.EditorApi.get(); const api = Common.EditorApi.get();
Device.phone ? f7.sheet.close('#view-comment-sheet') : f7.popover.close('#view-comment-popover');
comment && api.asc_removeComment(comment.uid); comment && api.asc_removeComment(comment.uid);
} }
deleteReply (comment, reply) { deleteReply (comment, reply) {