From 79d4da85b6279cbd55a4b30d77fcecd182f31f11 Mon Sep 17 00:00:00 2001 From: Olivia Guyot Date: Thu, 21 Nov 2024 23:38:35 +0100 Subject: [PATCH] chore: remove unused mat-raised-button directives --- libs/ui/elements/src/lib/api-card/api-card.component.html | 1 - libs/ui/elements/src/lib/api-card/api-card.component.ts | 2 -- .../lib/related-record-card/related-record-card.component.html | 1 - .../lib/related-record-card/related-record-card.component.ts | 2 -- .../src/lib/copy-text-button/copy-text-button.component.html | 1 - .../src/lib/copy-text-button/copy-text-button.component.ts | 3 +-- 6 files changed, 1 insertion(+), 9 deletions(-) diff --git a/libs/ui/elements/src/lib/api-card/api-card.component.html b/libs/ui/elements/src/lib/api-card/api-card.component.html index b357a5216..1068c6a7a 100644 --- a/libs/ui/elements/src/lib/api-card/api-card.component.html +++ b/libs/ui/elements/src/lib/api-card/api-card.component.html @@ -28,7 +28,6 @@ 'py-2 px-4 rounded-r-md bg-gray-400 hover:bg-gray-600 focus:bg-gray-800 text-white': displayText }" - mat-raised-button [matTooltip]=" !currentlyActive ? ('record.metadata.api.form.openForm' | translate) diff --git a/libs/ui/elements/src/lib/api-card/api-card.component.ts b/libs/ui/elements/src/lib/api-card/api-card.component.ts index 1f2ec4e40..b8e7e53ce 100644 --- a/libs/ui/elements/src/lib/api-card/api-card.component.ts +++ b/libs/ui/elements/src/lib/api-card/api-card.component.ts @@ -15,7 +15,6 @@ import { TranslateModule } from '@ngx-translate/core' import { MatTooltipModule } from '@angular/material/tooltip' import { NgIcon, provideIcons } from '@ng-icons/core' import { matMoreHoriz } from '@ng-icons/material-icons/baseline' -import { MatButtonModule } from '@angular/material/button' @Component({ selector: 'gn-ui-api-card', @@ -29,7 +28,6 @@ import { MatButtonModule } from '@angular/material/button' TranslateModule, MatTooltipModule, NgIcon, - MatButtonModule, ], viewProviders: [ provideIcons({ diff --git a/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html b/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html index f8ae8b782..b89c0fd13 100644 --- a/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html +++ b/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html @@ -17,7 +17,6 @@