[ACA-1571] File library - navigate into library after create process (#510)

* notify library ID conflict

* navigate into library node
This commit is contained in:
Cilibiu Bogdan
2018-07-14 13:46:40 +03:00
committed by Denys Vuika
parent 53c2e88689
commit d5763f585d
4 changed files with 16 additions and 10 deletions

View File

@@ -55,7 +55,9 @@ export class LibrariesComponent extends PageComponent implements OnInit {
this.subscriptions.push(
this.content.libraryDeleted.subscribe(() => this.reload()),
this.content.libraryCreated.subscribe(() => this.reload())
this.content.libraryCreated.subscribe((node: SiteEntry) => {
this.navigate(node.entry.guid);
})
);
}