From 5e608d7c71f159e2de685c064fb4b58abb806e16 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 23 Sep 2024 10:08:22 +0200 Subject: [PATCH] Correctly use disabled attribute --- client/src/app/shared/shared-main/buttons/button.component.html | 2 +- client/src/app/shared/shared-main/buttons/button.component.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/app/shared/shared-main/buttons/button.component.html b/client/src/app/shared/shared-main/buttons/button.component.html index 9270c0925..b3f8375c8 100644 --- a/client/src/app/shared/shared-main/buttons/button.component.html +++ b/client/src/app/shared/shared-main/buttons/button.component.html @@ -1,4 +1,4 @@ - diff --git a/client/src/app/shared/shared-main/buttons/button.component.ts b/client/src/app/shared/shared-main/buttons/button.component.ts index 9c07a2580..1534343d1 100644 --- a/client/src/app/shared/shared-main/buttons/button.component.ts +++ b/client/src/app/shared/shared-main/buttons/button.component.ts @@ -41,7 +41,6 @@ export class ButtonComponent implements OnInit, OnChanges { 'peertube-button-link': !!this.ptRouterLink, 'orange-button': this.theme === 'orange', 'grey-button': this.theme === 'grey', - 'disabled': this.disabled, 'icon-only': !this.label, 'has-icon': !!this.icon, 'responsive-label': this.responsiveLabel