[ACA-99] Viewer actions (#203)

* "toggle favorite" action

* copy and move actions

* move actions to the "more" menu
This commit is contained in:
Denys Vuika
2018-02-27 15:30:24 +00:00
committed by GitHub
parent 0b5dc47de9
commit 3a55411f40
5 changed files with 60 additions and 16 deletions

View File

@@ -29,7 +29,7 @@ import { RouterTestingModule } from '@angular/router/testing';
import { TestBed, async, ComponentFixture } from '@angular/core/testing';
import {
AlfrescoApiService, UserPreferencesService, TranslationService, TranslationMock,
AppConfigService, StorageService, CookieService, NotificationService
AppConfigService, StorageService, CookieService, NotificationService, NodeFavoriteDirective
} from '@alfresco/adf-core';
import { TranslateModule } from '@ngx-translate/core';
import { HttpClientModule } from '@angular/common/http';
@@ -67,7 +67,8 @@ describe('PreviewComponent', () => {
ContentManagementService
],
declarations: [
PreviewComponent
PreviewComponent,
NodeFavoriteDirective
],
schemas: [ NO_ERRORS_SCHEMA ]
})