@antscorp/antsomi-ui 1.3.5-beta.190 → 1.3.5-beta.192
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.
|
@@ -100,10 +100,7 @@ export const usePersistTemplate = (params) => {
|
|
|
100
100
|
return objectTemplate.create(Object.assign(Object.assign({}, params), { data: omit(params.data, ['template_id']) }));
|
|
101
101
|
}
|
|
102
102
|
}, onSettled(data, error, variables) {
|
|
103
|
-
queryClient.invalidateQueries([
|
|
104
|
-
QUERY_KEYS.GET_OBJECT_TEMPLATE_DETAIL,
|
|
105
|
-
+get(variables, 'params.data.template_id', -1),
|
|
106
|
-
]);
|
|
103
|
+
queryClient.invalidateQueries([QUERY_KEYS.GET_OBJECT_TEMPLATE_DETAIL, +get(variables, 'params.data.template_id', -1)], { exact: true });
|
|
107
104
|
queryClient.invalidateQueries([QUERY_KEYS.GET_OBJECT_TEMPLATE_LIST], {
|
|
108
105
|
exact: false,
|
|
109
106
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antscorp/antsomi-ui",
|
|
3
|
-
"version": "1.3.5-beta.
|
|
3
|
+
"version": "1.3.5-beta.192",
|
|
4
4
|
"description": "An enterprise-class UI design language and React UI library.",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"dist/*",
|
|
@@ -60,7 +60,6 @@
|
|
|
60
60
|
"not op_mini all"
|
|
61
61
|
],
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@antscorp/antsomi-ui": "file:.yalc/@antscorp/antsomi-ui",
|
|
64
63
|
"@antscorp/icons": "^0.27.14",
|
|
65
64
|
"@antscorp/image-editor": "1.0.2",
|
|
66
65
|
"@antscorp/processing-notification": "^1.0.0",
|