@vidispine/vdt-react 22.4.0-pre.3 → 22.4.0-pre.5
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.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +6 -7
package/dist/index.js
CHANGED
|
@@ -4724,7 +4724,7 @@ function useRoles() {
|
|
|
4724
4724
|
var groupName = _ref5.groupName;
|
|
4725
4725
|
return groupName;
|
|
4726
4726
|
});
|
|
4727
|
-
if (groupNames.includes(vdtJs.
|
|
4727
|
+
if (groupNames.includes(vdtJs.ROLE_NAMES.SUPER_ACCESS_USER)) return true;
|
|
4728
4728
|
|
|
4729
4729
|
if (Array.isArray(roleName)) {
|
|
4730
4730
|
return roleName.findIndex(function (thisRole) {
|