utopia-ui 3.0.0-alpha.161 → 3.0.0-alpha.162
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/package.json +1 -1
package/dist/index.js
CHANGED
@@ -4785,7 +4785,7 @@ function OverlayItemProfile() {
|
|
4785
4785
|
urlTab ? setActiveTab(Number(urlTab)) : setActiveTab(1);
|
4786
4786
|
}, [location]);
|
4787
4787
|
useEffect(function () {
|
4788
|
-
item &&
|
4788
|
+
item && hasUserPermission("items", "update", item) && setUpdatePermission(true);
|
4789
4789
|
}, [item]);
|
4790
4790
|
useEffect(function () {
|
4791
4791
|
selectPosition && map.closePopup();
|