Fix permission type for payout navigation button
- Change checkGrant permission type from 'X' to 'W' in payout list-page - Navigation button should use 'W' (write) permission instead of 'X' (execute) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -90,7 +90,7 @@ export const PayoutListPage = () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const onClickToNavigation = () => {
|
const onClickToNavigation = () => {
|
||||||
if (!checkGrant(53, 'X')) {
|
if (!checkGrant(53, 'W')) {
|
||||||
showAlert(t('common.nopermission'));
|
showAlert(t('common.nopermission'));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user