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:
Jay Sheen
2025-11-05 19:36:54 +09:00
parent bbc8c930ae
commit 1038dea22e
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
} }

View File

@@ -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;
} }