ソースを参照

added support for getting notifications when renaming

Shun Miyazawa 4 年 前
コミット
c36ce2dc7e

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

@@ -77,6 +77,10 @@ const InAppNotificationElm = (props: Props): JSX.Element => {
       actionMsg = 'updated on';
       actionIcon = 'ti-agenda';
       break;
+    case 'PAGE_RENAME':
+      actionMsg = 'renamed';
+      actionIcon = 'ti-agenda';
+      break;
     case 'COMMENT_CREATE':
       actionMsg = 'commented on';
       actionIcon = 'icon-bubble';