rez-table-listing-mui 1.3.59 → 1.3.60

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": "rez-table-listing-mui",
3
- "version": "1.3.59",
3
+ "version": "1.3.60",
4
4
  "type": "module",
5
5
  "description": "A rez table listing component built on TanStack Table",
6
6
  "main": "dist/index.js",
@@ -84,29 +84,22 @@ const QuickTab = ({
84
84
 
85
85
  // When user changes attribute
86
86
  useEffect(() => {
87
- if (currentQuickAttribute === settingsData?.quick_tab?.attribute) return;
87
+ // if (currentQuickAttribute === settingsData?.quick_tab?.attribute) return;
88
88
 
89
- if (tabsApiData?.length) {
90
- setSettingsData((prev) => ({
91
- ...prev,
92
- quick_tab: {
93
- ...prev?.quick_tab,
94
- hide_list: tabsApiData,
95
- show_list: [],
96
- },
97
- }));
89
+ // if (tabsApiData?.length) {
90
+ setSettingsData((prev) => ({
91
+ ...prev,
92
+ quick_tab: {
93
+ ...prev?.quick_tab,
94
+ hide_list: tabsApiData,
95
+ show_list: [],
96
+ },
97
+ }));
98
98
 
99
- setCurrentQuickAttribute(settingsData?.quick_tab?.attribute || "");
100
- } else {
101
- setSettingsData((prev) => ({
102
- ...prev,
103
- quick_tab: {
104
- ...prev?.quick_tab,
105
- hide_list: [],
106
- show_list: [],
107
- },
108
- }));
109
- }
99
+ setCurrentQuickAttribute(settingsData?.quick_tab?.attribute || "");
100
+ // }
101
+
102
+ // setCurrentQuickAttribute(settingsData?.quick_tab?.attribute || "");
110
103
  }, [tabsApiData]);
111
104
 
112
105
  // Validation when user changes show list or hide list