[ACA-20] Add/Remove favorite library (#804)

* custom add favorite library

* addFavoriteLibrary component

* tests

* update doc

* add content event

* reload on remove favorite library

* consistency

* app.selection.library over app.navigation.isLibraries

* fix duplicate id name
This commit is contained in:
Cilibiu Bogdan
2018-11-16 12:46:36 +02:00
committed by Suzana Dirla
parent 2ac59bd278
commit da41834524
11 changed files with 481 additions and 16 deletions

View File

@@ -55,7 +55,7 @@ export class LibrariesComponent extends PageComponent implements OnInit {
this.subscriptions.push(
this.content.libraryDeleted.subscribe(() => this.reload()),
this.content.libraryUpdated.subscribe(() => this.documentList.reload()),
this.content.libraryUpdated.subscribe(() => this.reload()),
this.breakpointObserver
.observe([Breakpoints.HandsetPortrait, Breakpoints.HandsetLandscape])