mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[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:
committed by
Suzana Dirla
parent
2ac59bd278
commit
da41834524
@@ -72,6 +72,8 @@ import { AppHeaderModule } from './components/header/header.module';
|
||||
import { environment } from '../environments/environment';
|
||||
import { LibraryMembershipDirective } from './directives/library-membership.directive';
|
||||
import { ToggleJoinLibraryComponent } from './components/toolbar/toggle-join-library/toggle-join-library.component';
|
||||
import { LibraryFavoriteDirective } from './directives/library-favorite.directive';
|
||||
import { ToggleFavoriteLibraryComponent } from './components/toolbar/toggle-favorite-library/toggle-favorite-library.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
@@ -114,7 +116,9 @@ import { ToggleJoinLibraryComponent } from './components/toolbar/toggle-join-lib
|
||||
NodeVersionsDialogComponent,
|
||||
LibraryDialogComponent,
|
||||
LibraryMembershipDirective,
|
||||
ToggleJoinLibraryComponent
|
||||
ToggleJoinLibraryComponent,
|
||||
LibraryFavoriteDirective,
|
||||
ToggleFavoriteLibraryComponent
|
||||
],
|
||||
providers: [
|
||||
{ provide: RouteReuseStrategy, useClass: AppRouteReuseStrategy },
|
||||
@@ -131,7 +135,8 @@ import { ToggleJoinLibraryComponent } from './components/toolbar/toggle-join-lib
|
||||
entryComponents: [
|
||||
LibraryDialogComponent,
|
||||
NodeVersionsDialogComponent,
|
||||
ToggleJoinLibraryComponent
|
||||
ToggleJoinLibraryComponent,
|
||||
ToggleFavoriteLibraryComponent
|
||||
],
|
||||
bootstrap: [AppComponent]
|
||||
})
|
||||
|
Reference in New Issue
Block a user