Shun Miyazawa 4 лет назад
Родитель
Сommit
47d23e75a6

+ 0 - 1
packages/app/src/components/InAppNotification/InAppNotification.tsx

@@ -63,7 +63,6 @@ export const InAppNotification = (props: Props): JSX.Element => {
 
   const renderInAppNotificationContent = (): JSX.Element => {
     switch (componentName) {
-      // TODO Is the naming of componentName too subtle?
       case 'Page:UPDATE':
         return <PageUpdateNotification {...propsNew} onClick={props.onClick(props.notification)} />;
       case 'Page:COMMENT':

+ 0 - 1
packages/app/src/server/service/comment.ts

@@ -6,7 +6,6 @@ import Crowi from '../crowi';
 
 const logger = loggerFactory('growi:service:CommentService');
 
-
 class CommentService {
 
   crowi!: Crowi;

+ 0 - 6
packages/app/src/server/util/activityDefine.ts

@@ -6,8 +6,6 @@ const ACTION_COMMENT = 'COMMENT';
 const ACTION_CREATE = 'CREATE'; // Not support yet
 const ACTION_DELETE = 'DELETE'; // Not support yet
 const ACTION_LIKE = 'LIKE'; // Not support yet
-const ACTION_COMMENT_CREATE = 'COMMENT_CREATE';
-const ACTION_COMMENT_UPDATE = 'COMMENT_UPDATE';
 
 const getSupportTargetModelNames = () => {
   return [MODEL_PAGE];
@@ -24,8 +22,6 @@ const getSupportActionNames = () => {
     // ACTION_DELETE,
     ACTION_COMMENT,
     // ACTION_LIKE,
-    ACTION_COMMENT_CREATE,
-    ACTION_COMMENT_UPDATE,
   ];
 };
 
@@ -38,8 +34,6 @@ const activityDefine = {
   ACTION_DELETE, // Not support yet
   ACTION_COMMENT,
   ACTION_LIKE,
-  ACTION_COMMENT_CREATE,
-  ACTION_COMMENT_UPDATE,
 
   getSupportTargetModelNames,
   getSupportEventModelNames,