From 5bb338b5e258887855d30f5e1c2d847074a8cda7 Mon Sep 17 00:00:00 2001 From: Camille Moinier Date: Mon, 15 Jul 2024 10:14:01 +0200 Subject: [PATCH] feat: add condition to display share tool and comment bootstrap mention --- .../app/record/record-metadata/record-metadata.component.html | 1 + apps/webcomponents/src/app/webcomponents.module.ts | 2 +- .../data-view-permalink/data-view-permalink.component.spec.ts | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/datahub/src/app/record/record-metadata/record-metadata.component.html b/apps/datahub/src/app/record/record-metadata/record-metadata.component.html index 8cd37d1680..0a28b804b9 100644 --- a/apps/datahub/src/app/record/record-metadata/record-metadata.component.html +++ b/apps/datahub/src/app/record/record-metadata/record-metadata.component.html @@ -110,6 +110,7 @@
BaseComponent, string][] = [ }, ], schemas: [CUSTOM_ELEMENTS_SCHEMA], - bootstrap: [AppComponent], + // bootstrap: [AppComponent], }) export class WebcomponentsModule { constructor(private injector: Injector) { diff --git a/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.spec.ts b/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.spec.ts index 848ee4bac4..381b66ecbf 100644 --- a/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.spec.ts +++ b/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.spec.ts @@ -4,7 +4,7 @@ import { DataViewPermalinkComponent, WEB_COMPONENT_EMBEDDER_URL, } from './data-view-permalink.component' -import { BehaviorSubject, firstValueFrom, lastValueFrom, takeLast } from 'rxjs' +import { BehaviorSubject, firstValueFrom } from 'rxjs' import { MdViewFacade } from '../state' import { Component, Input } from '@angular/core' import { TranslateModule } from '@ngx-translate/core'