@omniumretail/component-library 1.1.24 → 1.1.25

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omniumretail/component-library",
3
- "version": "1.1.24",
3
+ "version": "1.1.25",
4
4
  "private": false,
5
5
  "main": "dist/bundle.js",
6
6
  "typings": "./dist/types/index",
@@ -174,16 +174,17 @@ export const ModalWithTable = (props: ModalWithTableProps) => {
174
174
  }, [rowSelectionInfo])
175
175
 
176
176
  useEffect(() => {
177
- if (tagsInfo.length > 0) {
177
+ if (advancedTagsInfo.length > 0) {
178
178
  setConfirmLoading(true);
179
179
  }
180
- }, [tagsInfo]);
180
+ setConfirmLoading(false);
181
+ }, [advancedTagsInfo]);
181
182
 
182
183
  useEffect(() => {
183
- if (advancedTagsInfo.length > 0) {
184
+ if (tagsInfo.length > 0) {
184
185
  setConfirmLoading(true);
185
186
  }
186
- }, [advancedTagsInfo]);
187
+ }, [tagsInfo]);
187
188
 
188
189
  useEffect(() => {
189
190
  setConfirmLoading(isLoading!);