mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-10-01 14:41:14 +00:00
[ACS-5540] modified the changes
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
<span class="acs-details-breadcrumb-item">{{ 'APP.INFO_DRAWER.TITLE' | translate }}</span>
|
<span class="acs-details-breadcrumb-item">{{ 'APP.INFO_DRAWER.TITLE' | translate }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="acs-details-buttons">
|
<div class="acs-details-buttons">
|
||||||
<aca-toolbar [items]="actionsAspect" info-drawer-buttons></aca-toolbar>
|
<aca-toolbar [items]="aspectActions" info-drawer-buttons></aca-toolbar>
|
||||||
<button class="aca-close-details-button" mat-icon-button data-automation-id="close-library"
|
<button class="aca-close-details-button" mat-icon-button data-automation-id="close-library"
|
||||||
title="{{ 'APP.INFO_DRAWER.CLOSE' | translate }}" (click)="goBack()">
|
title="{{ 'APP.INFO_DRAWER.CLOSE' | translate }}" (click)="goBack()">
|
||||||
<mat-icon>close</mat-icon>
|
<mat-icon>close</mat-icon>
|
||||||
|
@@ -65,7 +65,7 @@ export class DetailsComponent extends PageComponent implements OnInit, OnDestroy
|
|||||||
isLoading: boolean;
|
isLoading: boolean;
|
||||||
onDestroy$ = new Subject<boolean>();
|
onDestroy$ = new Subject<boolean>();
|
||||||
activeTab = 1;
|
activeTab = 1;
|
||||||
actionsAspect: Array<ContentActionRef> = [];
|
aspectActions: Array<ContentActionRef> = [];
|
||||||
|
|
||||||
constructor(private route: ActivatedRoute, private contentApi: ContentApiService) {
|
constructor(private route: ActivatedRoute, private contentApi: ContentApiService) {
|
||||||
super();
|
super();
|
||||||
@@ -91,8 +91,8 @@ export class DetailsComponent extends PageComponent implements OnInit, OnDestroy
|
|||||||
this.extensions
|
this.extensions
|
||||||
.getAllowedSidebarActions()
|
.getAllowedSidebarActions()
|
||||||
.pipe(takeUntil(this.onDestroy$))
|
.pipe(takeUntil(this.onDestroy$))
|
||||||
.subscribe((actionsAspect) => {
|
.subscribe((aspectActions) => {
|
||||||
this.actionsAspect = actionsAspect;
|
this.aspectActions = aspectActions;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -49,7 +49,6 @@ export class NodeActionsService {
|
|||||||
contentMoved: Subject<any> = new Subject<any>();
|
contentMoved: Subject<any> = new Subject<any>();
|
||||||
moveDeletedEntries: any[] = [];
|
moveDeletedEntries: any[] = [];
|
||||||
isSitesDestinationAvailable = false;
|
isSitesDestinationAvailable = false;
|
||||||
isNodeLocked$: Observable<any>;
|
|
||||||
|
|
||||||
_nodesApi: NodesApi;
|
_nodesApi: NodesApi;
|
||||||
get nodesApi(): NodesApi {
|
get nodesApi(): NodesApi {
|
||||||
|
Reference in New Issue
Block a user