권한 변경및 warning 수정
This commit is contained in:
@@ -117,6 +117,7 @@ export const InfoWrap = () => {
|
||||
for(let i=0;i<list1.length;i++){
|
||||
rs.push(
|
||||
<InfoItem
|
||||
key={ `comission-info-wrap-${i}` }
|
||||
type={ type }
|
||||
payName={ list1[i]?.payName }
|
||||
payImage={ IMAGE_ROOT + '/' + list1[i]?.payImage }
|
||||
@@ -132,6 +133,7 @@ export const InfoWrap = () => {
|
||||
for(let i=0;i<list2.length;i++){
|
||||
rs.push(
|
||||
<InfoItem
|
||||
key={ `nointerest-info-wrap-${i}` }
|
||||
type={ type }
|
||||
payName={ list2[i]?.payName }
|
||||
payImage={ IMAGE_ROOT + '/' + list2[i]?.payImage }
|
||||
|
||||
@@ -236,7 +236,7 @@ export const CashReceiptListPage = () => {
|
||||
setTransactionType(val);
|
||||
};
|
||||
const onClickToNavigate = () => {
|
||||
if(checkGrant(menuId, 'X')){
|
||||
if(checkGrant(menuId, 'W')){
|
||||
navigate(PATHS.transaction.cashReceipt.handWrittenIssuance);
|
||||
}
|
||||
else{
|
||||
|
||||
Reference in New Issue
Block a user