Browse Source

create the look and feel of the notification when a page is deleted

Shun Miyazawa 4 years ago
parent
commit
f857e59b4c

+ 4 - 0
packages/app/src/components/InAppNotification/InAppNotificationElm.tsx

@@ -81,6 +81,10 @@ const InAppNotificationElm = (props: Props): JSX.Element => {
       actionMsg = 'renamed';
       actionIcon = 'icon-action-redo';
       break;
+    case 'PAGE_DELETE':
+      actionMsg = 'deleted';
+      actionIcon = 'icon-trash';
+      break;
     case 'COMMENT_CREATE':
       actionMsg = 'commented on';
       actionIcon = 'icon-bubble';