|
@@ -10,7 +10,10 @@ const renderAuthorize = Authorized => {
|
|
|
if (currentAuthority.constructor.name === 'Function') {
|
|
if (currentAuthority.constructor.name === 'Function') {
|
|
|
CURRENT = currentAuthority();
|
|
CURRENT = currentAuthority();
|
|
|
}
|
|
}
|
|
|
- if (currentAuthority.constructor.name === 'String') {
|
|
|
|
|
|
|
+ if (
|
|
|
|
|
+ currentAuthority.constructor.name === 'String' ||
|
|
|
|
|
+ currentAuthority.constructor.name === 'Array'
|
|
|
|
|
+ ) {
|
|
|
CURRENT = currentAuthority;
|
|
CURRENT = currentAuthority;
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|