mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
fix: organization lock base currency field.
This commit is contained in:
@@ -91,3 +91,15 @@ export function useUpdateOrganization(props) {
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
export function useOrgBaseCurrencyMutateAbilities(props) {
|
||||
return useRequestQuery(
|
||||
[t.ORGANIZATION_MUTATE_BASE_CURRENCY_ABILITIES],
|
||||
{ method: 'get', url: `organization/base_currency_mutate` },
|
||||
{
|
||||
select: (res) => res.data.abilities,
|
||||
defaultData: [],
|
||||
...props,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user