itizawa 6 سال پیش
والد
کامیت
abf8b79d9a
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      src/client/js/components/Admin/Notification/ManageGlobalNotification.jsx

+ 2 - 0
src/client/js/components/Admin/Notification/ManageGlobalNotification.jsx

@@ -1,6 +1,7 @@
 import React from 'react';
 import React from 'react';
 import PropTypes from 'prop-types';
 import PropTypes from 'prop-types';
 import { withTranslation } from 'react-i18next';
 import { withTranslation } from 'react-i18next';
+import urljoin from 'url-join';
 
 
 import loggerFactory from '@alias/logger';
 import loggerFactory from '@alias/logger';
 
 
@@ -82,6 +83,7 @@ class ManageGlobalNotification extends React.Component {
           triggerEvents: [...this.state.triggerEvents],
           triggerEvents: [...this.state.triggerEvents],
         });
         });
       }
       }
+      window.location.href = urljoin(window.location.origin, '/admin/notification#global-notification');
     }
     }
     catch (err) {
     catch (err) {
       toastError(err);
       toastError(err);