next-helios-fe 1.10.3 → 1.10.5
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
@@ -75,16 +75,6 @@ export const ModalSelect: React.FC<ModalSelectProps> = ({
|
|
75
75
|
}
|
76
76
|
}, [value]);
|
77
77
|
|
78
|
-
useEffect(() => {
|
79
|
-
if (dynamicSelect?.getValue) {
|
80
|
-
setSelectedMenuHistory(
|
81
|
-
data.menus.filter((menuItem: any) =>
|
82
|
-
(type === "select" ? [value] : value || []).includes(menuItem.value)
|
83
|
-
)
|
84
|
-
);
|
85
|
-
}
|
86
|
-
}, [data.menus]);
|
87
|
-
|
88
78
|
useEffect(() => {
|
89
79
|
if (!loading) {
|
90
80
|
if (openModal) {
|
@@ -998,8 +998,8 @@ export const Table: TableComponentProps = ({
|
|
998
998
|
options={{ disableHover: true }}
|
999
999
|
disabled={loading}
|
1000
1000
|
checked={
|
1001
|
-
|
1002
|
-
|
1001
|
+
// dynamicTable?.setValue?.totalData
|
1002
|
+
filteredData?.length !== 0 &&
|
1003
1003
|
filteredData?.filter((item) => {
|
1004
1004
|
return selected?.find((selectedItem) => {
|
1005
1005
|
return (
|
@@ -1008,9 +1008,7 @@ export const Table: TableComponentProps = ({
|
|
1008
1008
|
] === item[options?.customDataIdName ?? "id"]
|
1009
1009
|
);
|
1010
1010
|
});
|
1011
|
-
})?.length ===
|
1012
|
-
(dynamicTable?.setValue?.totalData ??
|
1013
|
-
filteredData?.length)
|
1011
|
+
})?.length === filteredData?.length
|
1014
1012
|
? true
|
1015
1013
|
: false
|
1016
1014
|
}
|
@@ -1024,9 +1022,7 @@ export const Table: TableComponentProps = ({
|
|
1024
1022
|
] === item[options?.customDataIdName ?? "id"]
|
1025
1023
|
);
|
1026
1024
|
});
|
1027
|
-
})?.length ===
|
1028
|
-
(dynamicTable?.setValue?.totalData ??
|
1029
|
-
filteredData?.length)
|
1025
|
+
})?.length === filteredData?.length
|
1030
1026
|
) {
|
1031
1027
|
if (checkbox?.onChange) {
|
1032
1028
|
checkbox?.onChange(
|