@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.es.js
CHANGED
|
@@ -5,7 +5,7 @@ import { utils, search, vsimport, collection, ChunkedUpload, access, metadatafie
|
|
|
5
5
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
6
6
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
7
7
|
import _typeof from '@babel/runtime/helpers/typeof';
|
|
8
|
-
import { createMetadataType, formatTimeCodeSeconds, formatTimeCodeText, parseMetadataType,
|
|
8
|
+
import { createMetadataType, formatTimeCodeSeconds, formatTimeCodeText, parseMetadataType, ROLE_NAMES } from '@vidispine/vdt-js';
|
|
9
9
|
import { compressToEncodedURIComponent, decompressFromEncodedURIComponent } from 'lz-string';
|
|
10
10
|
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
11
11
|
import _regeneratorRuntime from '@babel/runtime/regenerator';
|
|
@@ -4702,7 +4702,7 @@ function useRoles() {
|
|
|
4702
4702
|
var groupName = _ref5.groupName;
|
|
4703
4703
|
return groupName;
|
|
4704
4704
|
});
|
|
4705
|
-
if (groupNames.includes(
|
|
4705
|
+
if (groupNames.includes(ROLE_NAMES.SUPER_ACCESS_USER)) return true;
|
|
4706
4706
|
|
|
4707
4707
|
if (Array.isArray(roleName)) {
|
|
4708
4708
|
return roleName.findIndex(function (thisRole) {
|