mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[MNT-24098] fixes for pdf with HTTP (#9155)
* fixes for pdf with https * [ci:force] cleanup code * [ci:force] add missing types * reduce duplicated code
This commit is contained in:
@@ -186,7 +186,11 @@ export class NodesApiService {
|
||||
}
|
||||
}
|
||||
|
||||
return this.createNodeInsideRoot(name || window.crypto.randomUUID(), nodeType, properties, path);
|
||||
return this.createNodeInsideRoot(name || this.randomNodeName(), nodeType, properties, path);
|
||||
}
|
||||
|
||||
private randomNodeName(): string {
|
||||
return `node_${Date.now()}`;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user