Fix permission type for link payment navigation buttons
- Change checkGrant permission type from 'X' to 'W' in link-payment-history-wrap and link-payment-wait-send-wrap - These navigation buttons 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:
@@ -78,7 +78,7 @@ export const LinkPaymentHistoryWrap = () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const onClickToNavigate = () => {
|
const onClickToNavigate = () => {
|
||||||
if (!checkGrant(54, 'X')) {
|
if (!checkGrant(54, 'W')) {
|
||||||
showAlert(t('common.nopermission'));
|
showAlert(t('common.nopermission'));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ export const LinkPaymentWaitSendWrap = () => {
|
|||||||
setFilterOn(!filterOn);
|
setFilterOn(!filterOn);
|
||||||
};
|
};
|
||||||
const onClickToNavigate = () => {
|
const onClickToNavigate = () => {
|
||||||
if (!checkGrant(54, 'X')) {
|
if (!checkGrant(54, 'W')) {
|
||||||
showAlert(t('common.nopermission'));
|
showAlert(t('common.nopermission'));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user