@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.js
CHANGED
|
@@ -5459,7 +5459,7 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
5459
5459
|
console.log("cardsRole123", cardsRole);
|
|
5460
5460
|
console.log("cardsErrorMsg", cardsErrorMsg);
|
|
5461
5461
|
React.useEffect(function () {
|
|
5462
|
-
if (isCardsAdmin === false && cardsRole.includes("
|
|
5462
|
+
if (isCardsAdmin === false && cardsRole.includes("card-admin")) {
|
|
5463
5463
|
setCardsErrorMsg(true);
|
|
5464
5464
|
IUIToastMessageService$4.warningNotify("You are not authorized person to make someone admin");
|
|
5465
5465
|
} else {
|