@asaleh37/ui-base 25.6.21 → 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asaleh37/ui-base",
3
- "version": "25.6.21",
3
+ "version": "25.6.25",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "Ahmed Saleh Mohamed",
@@ -18,7 +18,7 @@ const SystemApplicationRoleGrid: React.FC = () => {
18
18
  width: "50%",
19
19
  });
20
20
  const apiActions = useApiActions({
21
- findAll: "SystemApplicationRoles",
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
- setRight([...selectedOptions]);
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: "100%",
172
+ height: "80%",
174
173
  bgcolor: "secondary",
175
174
  overflow: "auto",
176
175
  }}