@bigbinary/neeto-molecules 1.7.0 → 1.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/FloatingActionMenu.js +3 -3
- package/dist/FloatingActionMenu.js.map +1 -1
- package/dist/Sidebar.js +3 -1
- package/dist/Sidebar.js.map +1 -1
- package/dist/cjs/FloatingActionMenu.js +3 -3
- package/dist/cjs/FloatingActionMenu.js.map +1 -1
- package/dist/cjs/Sidebar.js +3 -1
- package/dist/cjs/Sidebar.js.map +1 -1
- package/package.json +1 -1
- package/src/translations/en.json +1 -1
package/dist/Sidebar.js
CHANGED
|
@@ -19,6 +19,7 @@ import { Neeto } from '@bigbinary/neeto-icons/typeface-logos';
|
|
|
19
19
|
import { SINGULAR, PLURAL } from '@bigbinary/neeto-commons-frontend/constants';
|
|
20
20
|
import { useDestroySegment, buildUrlFromFilters, useUpdateSegment, buildUrlFromSegment } from '@bigbinary/neeto-filters-frontend';
|
|
21
21
|
import { useHistory as useHistory$1 } from 'react-router-dom/cjs/react-router-dom.min';
|
|
22
|
+
import { showThumbsUpToastr } from '@bigbinary/neeto-commons-frontend/utils';
|
|
22
23
|
import { Form, Input as Input$1, ActionBlock } from '@bigbinary/neetoui/formik';
|
|
23
24
|
import * as yup from 'yup';
|
|
24
25
|
|
|
@@ -913,7 +914,8 @@ var Rename = function Rename(_ref) {
|
|
|
913
914
|
showToastr: false
|
|
914
915
|
}, {
|
|
915
916
|
onSuccess: function onSuccess() {
|
|
916
|
-
|
|
917
|
+
setIsOpen(false);
|
|
918
|
+
showThumbsUpToastr();
|
|
917
919
|
},
|
|
918
920
|
onSettled: function onSettled() {
|
|
919
921
|
setSubmitting(false);
|