[ACS-5540] modified the changes

This commit is contained in:
Yasa-Nataliya
2023-09-13 12:34:57 +05:30
parent afc65c4265
commit 5121ad09c0
3 changed files with 4 additions and 5 deletions

View File

@@ -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>

View File

@@ -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;
}); });
} }

View File

@@ -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 {