瀏覽代碼

generate inappnotification document when duplicating pages

Shun Miyazawa 4 年之前
父節點
當前提交
97fd77af1c
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      packages/app/src/components/InAppNotification/InAppNotificationElm.tsx

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

@@ -103,6 +103,10 @@ const InAppNotificationElm: FC<Props> = (props: Props) => {
       actionMsg = 'renamed';
       actionIcon = 'icon-action-redo';
       break;
+    case 'PAGE_DUPLICATE':
+      actionMsg = 'duplicated';
+      actionIcon = 'icon-docs';
+      break;
     case 'PAGE_DELETE':
       actionMsg = 'deleted';
       actionIcon = 'icon-trash';