mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ACA-1749] Favorites - version manager (#603)
This commit is contained in:
committed by
Denys Vuika
parent
593511eb92
commit
3a066b9bc0
@@ -126,9 +126,12 @@ export class ContentManagementService {
|
||||
|
||||
manageVersions(node: MinimalNodeEntity) {
|
||||
if (node && node.entry) {
|
||||
if (node.entry.nodeId) {
|
||||
// shared and favorite
|
||||
const id = node.entry.nodeId || (<any>node).entry.guid;
|
||||
|
||||
if (id) {
|
||||
this.contentApi
|
||||
.getNodeInfo(node.entry.nodeId)
|
||||
.getNodeInfo(id)
|
||||
.subscribe(entry => {
|
||||
this.openVersionManagerDialog(entry);
|
||||
});
|
||||
|
Reference in New Issue
Block a user