Add UI feedback for comment deletion
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -245,12 +245,10 @@ class ActivityController {
|
|||||||
deleteComment(item) {
|
deleteComment(item) {
|
||||||
item.commentModel.destroy();
|
item.commentModel.destroy();
|
||||||
item.deleted = true;
|
item.deleted = true;
|
||||||
|
item.commentModel = undefined;
|
||||||
|
item.message = t('deck', 'The comment has been deleted');
|
||||||
}
|
}
|
||||||
|
|
||||||
getCommentDetails() {}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
getData(id) {
|
getData(id) {
|
||||||
return this.activityservice.getData(this.type, id);
|
return this.activityservice.getData(this.type, id);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user