@asaleh37/ui-base 25.6.24 → 25.6.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
|
@@ -18,7 +18,7 @@ const SystemApplicationRoleGrid: React.FC = () => {
|
|
|
18
18
|
width: "50%",
|
|
19
19
|
});
|
|
20
20
|
const apiActions = useApiActions({
|
|
21
|
-
|
|
21
|
+
commonStoreKey: "SystemApplicationRoles",
|
|
22
22
|
deleteById: "api/v1/admin/systemapplicationrole",
|
|
23
23
|
save: "api/v1/admin/systemapplicationrole",
|
|
24
24
|
findById: "api/v1/admin/systemapplicationrole",
|
|
@@ -53,7 +53,7 @@ const TransferList: React.FC<TransferListProps> = ({
|
|
|
53
53
|
}, [options]);
|
|
54
54
|
React.useEffect(() => {
|
|
55
55
|
if (selectedOptions) {
|
|
56
|
-
|
|
56
|
+
setRight([...selectedOptions]);
|
|
57
57
|
}
|
|
58
58
|
}, [selectedOptions]);
|
|
59
59
|
|
|
@@ -104,9 +104,8 @@ const TransferList: React.FC<TransferListProps> = ({
|
|
|
104
104
|
title: string,
|
|
105
105
|
unfilteredItems: Array<any>,
|
|
106
106
|
side: "left" | "right"
|
|
107
|
-
) => {
|
|
107
|
+
) => {
|
|
108
108
|
const items = unfilteredItems.filter((option: any) => {
|
|
109
|
-
|
|
110
109
|
if (option[displayField]) {
|
|
111
110
|
const value: string = option[displayField];
|
|
112
111
|
if (
|
|
@@ -170,7 +169,7 @@ const TransferList: React.FC<TransferListProps> = ({
|
|
|
170
169
|
<List
|
|
171
170
|
sx={{
|
|
172
171
|
width: "100%",
|
|
173
|
-
height: "
|
|
172
|
+
height: "80%",
|
|
174
173
|
bgcolor: "secondary",
|
|
175
174
|
overflow: "auto",
|
|
176
175
|
}}
|