@asaleh37/ui-base 25.9.3-1 → 25.9.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
|
@@ -23,7 +23,7 @@ const PersonGrid: React.FC = () => {
|
|
|
23
23
|
);
|
|
24
24
|
const [data, setData] = useState([]);
|
|
25
25
|
const apiActions = useApiActions({
|
|
26
|
-
|
|
26
|
+
commonStoreKey: "persons",
|
|
27
27
|
deleteById: "api/v1/admin/person",
|
|
28
28
|
save: "api/v1/admin/person",
|
|
29
29
|
findById: "api/v1/admin/person",
|
|
@@ -276,10 +276,10 @@ const PersonGrid: React.FC = () => {
|
|
|
276
276
|
data={data}
|
|
277
277
|
setData={setData}
|
|
278
278
|
editMode={{
|
|
279
|
-
editMode: "modal",
|
|
279
|
+
editMode: "modal",
|
|
280
280
|
specs: {
|
|
281
281
|
modalIcon: "user",
|
|
282
|
-
modalTitle: "Person Profile",
|
|
282
|
+
modalTitle: "Person Profile",
|
|
283
283
|
modalWidth: 300,
|
|
284
284
|
},
|
|
285
285
|
}}
|
|
@@ -320,7 +320,7 @@ const PersonGrid: React.FC = () => {
|
|
|
320
320
|
]}
|
|
321
321
|
girdIcon="users"
|
|
322
322
|
editAction={{
|
|
323
|
-
isEnabled: true,
|
|
323
|
+
isEnabled: true,
|
|
324
324
|
authority: "PERSON_EDIT",
|
|
325
325
|
preActionValidation: (data) => {
|
|
326
326
|
if (
|