mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-26 17:24:45 +00:00
manage version for favorite nodes (#405)
This commit is contained in:
parent
a849a215bb
commit
e8ad0ad9ab
@ -58,9 +58,9 @@ export class NodeVersionsDirective {
|
||||
if (this.node && this.node.entry) {
|
||||
let entry = this.node.entry;
|
||||
|
||||
if (entry.nodeId) {
|
||||
if (entry.nodeId || (<any>entry).guid) {
|
||||
entry = await this.apiService.nodesApi.getNodeInfo(
|
||||
entry.nodeId,
|
||||
entry.nodeId || (<any>entry).id,
|
||||
{ include: ['allowableOperations'] }
|
||||
);
|
||||
this.openVersionManagerDialog(entry);
|
||||
|
Loading…
x
Reference in New Issue
Block a user