itizawa před 6 roky
rodič
revize
11f25d1306

+ 1 - 1
src/client/js/components/Admin/Notification/GlobalNotificationList.jsx

@@ -40,7 +40,7 @@ class GlobalNotificationList extends React.Component {
     const { t, adminNotificationContainer } = this.props;
     const { t, adminNotificationContainer } = this.props;
 
 
     try {
     try {
-      const deletedNotificaton = await adminNotificationContainer.deleteGlobalNotificationPattern(this.state.notificatiionIdForConfiguration);
+      const deletedNotificaton = await adminNotificationContainer.deleteGlobalNotificationPattern(this.state.notificatiionForConfiguration._id);
       toastSuccess(t('notification_setting.delete_notification_pattern', { path: deletedNotificaton.triggerPath }));
       toastSuccess(t('notification_setting.delete_notification_pattern', { path: deletedNotificaton.triggerPath }));
     }
     }
     catch (err) {
     catch (err) {