@itilite/iui-user-management 0.4.55 → 0.4.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -5456,7 +5456,7 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
5456
5456
|
console.log("cardsRole123", cardsRole);
|
|
5457
5457
|
console.log("cardsErrorMsg", cardsErrorMsg);
|
|
5458
5458
|
useEffect(function () {
|
|
5459
|
-
if (isCardsAdmin === false && cardsRole.includes("
|
|
5459
|
+
if (isCardsAdmin === false && cardsRole.includes("card-admin")) {
|
|
5460
5460
|
setCardsErrorMsg(true);
|
|
5461
5461
|
IUIToastMessageService$4.warningNotify("You are not authorized person to make someone admin");
|
|
5462
5462
|
} else {
|