diff --git a/frontend/pages/Admin/UserManagementPage/UserManagementPage.jsx b/frontend/pages/Admin/UserManagementPage/UserManagementPage.jsx index 36f7bf71ce..6d5810805e 100644 --- a/frontend/pages/Admin/UserManagementPage/UserManagementPage.jsx +++ b/frontend/pages/Admin/UserManagementPage/UserManagementPage.jsx @@ -143,8 +143,6 @@ export class UserManagementPage extends Component { dispatch(inviteActions.silentCreate(formData)) .then(() => { - dispatch(renderFlash('success', 'User invited')); - return this.toggleInviteUserModal(); }) .catch(() => false); diff --git a/frontend/pages/hosts/ManageHostsPage/ManageHostsPage.jsx b/frontend/pages/hosts/ManageHostsPage/ManageHostsPage.jsx index dc9f2fb2f8..46cd3b1a99 100644 --- a/frontend/pages/hosts/ManageHostsPage/ManageHostsPage.jsx +++ b/frontend/pages/hosts/ManageHostsPage/ManageHostsPage.jsx @@ -216,7 +216,6 @@ export class ManageHostsPage extends Component { .then(() => { toggleDeleteLabelModal(); dispatch(push(MANAGE_HOSTS)); - dispatch(renderFlash('success', 'Label successfully deleted')); return false; }); } diff --git a/frontend/pages/packs/EditPackPage/EditPackPage.jsx b/frontend/pages/packs/EditPackPage/EditPackPage.jsx index 67756a858c..c1cfe63d99 100644 --- a/frontend/pages/packs/EditPackPage/EditPackPage.jsx +++ b/frontend/pages/packs/EditPackPage/EditPackPage.jsx @@ -199,10 +199,6 @@ export class EditPackPage extends Component { }; dispatch(create(scheduledQueryData)) - .then(() => { - this.setState({ selectedScheduledQuery: null, selectedQuery: null }); - dispatch(renderFlash('success', 'Query scheduled!')); - }) .catch(() => { dispatch(renderFlash('error', 'Unable to schedule your query.')); }); diff --git a/frontend/pages/packs/PackComposerPage/PackComposerPage.jsx b/frontend/pages/packs/PackComposerPage/PackComposerPage.jsx index a2a85f58e5..80c5b062e6 100644 --- a/frontend/pages/packs/PackComposerPage/PackComposerPage.jsx +++ b/frontend/pages/packs/PackComposerPage/PackComposerPage.jsx @@ -6,7 +6,6 @@ import { push } from 'react-router-redux'; import packActions from 'redux/nodes/entities/packs/actions'; import PackForm from 'components/forms/packs/PackForm'; import PackInfoSidePanel from 'components/side_panels/PackInfoSidePanel'; -import { renderFlash } from 'redux/nodes/notifications/actions'; const baseClass = 'pack-composer'; @@ -40,7 +39,6 @@ export class PackComposerPage extends Component { const { dispatch } = this.props; dispatch(push(`/packs/${packID}`)); - dispatch(renderFlash('success', 'Pack created!')); return false; } diff --git a/frontend/pages/queries/QueryPage/QueryPage.jsx b/frontend/pages/queries/QueryPage/QueryPage.jsx index 2829ad672e..ff3eb7c56e 100644 --- a/frontend/pages/queries/QueryPage/QueryPage.jsx +++ b/frontend/pages/queries/QueryPage/QueryPage.jsx @@ -238,7 +238,6 @@ export class QueryPage extends Component { return dispatch(queryActions.create(formData)) .then((query) => { dispatch(push(`/queries/${query.id}`)); - dispatch(renderFlash('success', 'Query created')); }) .catch(() => false); })