From 71661b49b69183c0df79772bf52f6971ecc87ba2 Mon Sep 17 00:00:00 2001 From: MichalKinas Date: Tue, 3 Oct 2023 08:24:05 +0200 Subject: [PATCH] [ACS-5601] CR fixes --- package-lock.json | 26 ------------------- package.json | 1 - .../name-column/name-column.component.html | 4 +-- .../name-column/name-column.component.ts | 9 ++++--- projects/aca-shared/package.json | 1 - 5 files changed, 8 insertions(+), 33 deletions(-) diff --git a/package-lock.json b/package-lock.json index 58049ba153..03730947f0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,6 @@ "@alfresco/adf-content-services": "6.4.0-6377399867", "@alfresco/adf-core": "6.4.0-6377399867", "@alfresco/adf-extensions": "6.4.0-6377399867", - "@alfresco/adf-process-services": "6.4.0-6377399867", "@alfresco/eslint-plugin-eslint-angular": "6.4.0-6377399867", "@alfresco/js-api": "7.1.0-1367", "@angular/animations": "14.1.3", @@ -206,31 +205,6 @@ "@angular/core": ">=14.1.3" } }, - "node_modules/@alfresco/adf-process-services": { - "version": "6.4.0-6377399867", - "resolved": "https://registry.npmjs.org/@alfresco/adf-process-services/-/adf-process-services-6.4.0-6377399867.tgz", - "integrity": "sha512-SvWB7vf4WmLiAG6G+rvALut9Nnd8HtvK4r86NbFtb3um24PqfR9pFEaNAsF8FZYkkwKobSxK4ptnQLbd/c8Dgg==", - "dependencies": { - "tslib": "^2.3.0" - }, - "peerDependencies": { - "@alfresco/adf-content-services": ">=6.4.0-6377399867", - "@alfresco/adf-core": ">=6.4.0-6377399867", - "@alfresco/js-api": ">=7.1.0-1349", - "@angular/animations": ">=14.1.3", - "@angular/cdk": ">=14.1.2", - "@angular/common": ">=14.1.3", - "@angular/compiler": ">=14.1.3", - "@angular/core": ">=14.1.3", - "@angular/forms": ">=14.1.3", - "@angular/material": ">=14.1.2", - "@angular/platform-browser": ">=14.1.3", - "@angular/platform-browser-dynamic": ">=14.1.3", - "@angular/router": ">=14.1.3", - "@ngx-translate/core": ">=14.0.0", - "moment": ">=2.22.2" - } - }, "node_modules/@alfresco/adf-testing": { "version": "6.4.0-6377399867", "resolved": "https://registry.npmjs.org/@alfresco/adf-testing/-/adf-testing-6.4.0-6377399867.tgz", diff --git a/package.json b/package.json index 9abeb97a5c..a582c78f96 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,6 @@ "@alfresco/adf-core": "6.4.0-6377399867", "@alfresco/adf-extensions": "6.4.0-6377399867", "@alfresco/eslint-plugin-eslint-angular": "6.4.0-6377399867", - "@alfresco/adf-process-services": "6.4.0-6377399867", "@alfresco/js-api": "7.1.0-1367", "@angular/animations": "14.1.3", "@angular/cdk": "14.1.3", diff --git a/projects/aca-content/src/lib/components/dl-custom-components/name-column/name-column.component.html b/projects/aca-content/src/lib/components/dl-custom-components/name-column/name-column.component.html index 800e5d74a9..b19de5842f 100644 --- a/projects/aca-content/src/lib/components/dl-custom-components/name-column/name-column.component.html +++ b/projects/aca-content/src/lib/components/dl-custom-components/name-column/name-column.component.html @@ -21,9 +21,9 @@
- + - +
diff --git a/projects/aca-content/src/lib/components/dl-custom-components/name-column/name-column.component.ts b/projects/aca-content/src/lib/components/dl-custom-components/name-column/name-column.component.ts index a952f58f3c..dfeefcc7bb 100644 --- a/projects/aca-content/src/lib/components/dl-custom-components/name-column/name-column.component.ts +++ b/projects/aca-content/src/lib/components/dl-custom-components/name-column/name-column.component.ts @@ -96,9 +96,12 @@ export class CustomNameColumnComponent extends NameColumnComponent implements On this.cd.detectChanges(); }); - this.appExtensionService.getBadges(this.node).subscribe((badges) => { - this.badges = badges; - }); + this.appExtensionService + .getBadges(this.node) + .pipe(takeUntil(this.onDestroy$$)) + .subscribe((badges) => { + this.badges = badges; + }); } onLinkClick(event: Event) { diff --git a/projects/aca-shared/package.json b/projects/aca-shared/package.json index 1467c4bca9..abfa150f1f 100644 --- a/projects/aca-shared/package.json +++ b/projects/aca-shared/package.json @@ -8,7 +8,6 @@ "@alfresco/adf-content-services": "^6.4.0-6341205853", "@alfresco/adf-core": "^6.4.0-6341205853", "@alfresco/adf-extensions": "^6.4.0-6341205853", - "@alfresco/adf-process-services": "^6.4.0-6341205853", "@alfresco/js-api": "^7.1.0-1349", "@angular/animations": "^14.1.3", "@angular/common": "^14.1.3",