mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-17 12:56:05 +00:00
added format command and added trailing commas to reduce conflicts
This commit is contained in:
@@ -16,8 +16,8 @@ export function AuthRolesList() {
|
||||
role: name,
|
||||
permissions: role.permissions,
|
||||
is_default: role.is_default ?? false,
|
||||
implicit_allow: role.implicit_allow ?? false
|
||||
}))
|
||||
implicit_allow: role.implicit_allow ?? false,
|
||||
})),
|
||||
);
|
||||
|
||||
function handleClick(row) {
|
||||
@@ -31,14 +31,14 @@ export function AuthRolesList() {
|
||||
schema: {
|
||||
type: "object",
|
||||
properties: {
|
||||
name: StringIdentifier
|
||||
name: StringIdentifier,
|
||||
},
|
||||
required: ["name"]
|
||||
required: ["name"],
|
||||
},
|
||||
uiSchema: {
|
||||
name: {
|
||||
"ui:title": "Role name"
|
||||
}
|
||||
"ui:title": "Role name",
|
||||
},
|
||||
},
|
||||
onSubmit: async (data) => {
|
||||
if (data.name.length > 0) {
|
||||
@@ -46,11 +46,11 @@ export function AuthRolesList() {
|
||||
navigate(routes.auth.roles.edit(data.name));
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
title: "New Role"
|
||||
}
|
||||
title: "New Role",
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user