Просмотр исходного кода

added support for getting notifications when renaming

Shun Miyazawa 4 лет назад
Родитель
Сommit
c36ce2dc7e
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      packages/app/src/components/InAppNotification/InAppNotificationElm.tsx

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

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