mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 13:50:31 +00:00
feat: add default role permissions in new mode.
This commit is contained in:
@@ -87,9 +87,7 @@ export function useRolePermission(role_id, props, requestProps) {
|
||||
{ method: 'get', url: `roles/${role_id}`, ...requestProps },
|
||||
{
|
||||
select: (res) => res.data.role,
|
||||
defaultData: {
|
||||
permission: [],
|
||||
},
|
||||
defaultData: {},
|
||||
...props,
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user