|
@@ -198,6 +198,7 @@
|
|
|
auth: permissions.unlockUserAccount,
|
|
auth: permissions.unlockUserAccount,
|
|
|
disabled:
|
|
disabled:
|
|
|
!hasPermission(permissions.unlockUserAccount) ||
|
|
!hasPermission(permissions.unlockUserAccount) ||
|
|
|
|
|
+ !row.userAccount ||
|
|
|
(row.userAccount && row.userAccount.accountStatus === 'NORMAL'),
|
|
(row.userAccount && row.userAccount.accountStatus === 'NORMAL'),
|
|
|
onClick: () => handleUnlockUserAccount(row.userId),
|
|
onClick: () => handleUnlockUserAccount(row.userId),
|
|
|
},
|
|
},
|