mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Fix the if condition on namespaces (#6280)
This commit is contained in:
@@ -120,7 +120,7 @@ function main(args) {
|
|||||||
setContext(args);
|
setContext(args);
|
||||||
useContext(args);
|
useContext(args);
|
||||||
let namespaces: string [];
|
let namespaces: string [];
|
||||||
if (namespaces === undefined || args.namespaces === null || args.namespaces === 'default') {
|
if (args.namespaces === null || args.namespaces === 'default') {
|
||||||
logger.info(`No namespaces provided. Fetch all of them`);
|
logger.info(`No namespaces provided. Fetch all of them`);
|
||||||
namespaces = getNamespaces();
|
namespaces = getNamespaces();
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user