Correctly use disabled attribute
This commit is contained in:
parent
460fd76755
commit
5e608d7c71
|
@ -1,4 +1,4 @@
|
|||
<button *ngIf="!ptRouterLink" type="button" class="action-button" [ngClass]="classes" [ngbTooltip]="title">
|
||||
<button *ngIf="!ptRouterLink" type="button" class="action-button" [ngClass]="classes" [disabled]="disabled" [ngbTooltip]="title">
|
||||
<ng-container *ngTemplateOutlet="content"></ng-container>
|
||||
</button>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue