X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared-main%2Fbuttons%2Fdelete-button.component.ts;h=1cab10803437e0ff8a5875520af4218fb546850d;hb=db66f3914bad31a21df5d7ffb3452b80655d6794;hp=90735852c31c52981ac3ca6284f237848b507dde;hpb=ac30ddd739d32ee69ce048656c0ffcf444b91513;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/shared-main/buttons/delete-button.component.ts b/client/src/app/shared/shared-main/buttons/delete-button.component.ts index 90735852c..1cab10803 100644 --- a/client/src/app/shared/shared-main/buttons/delete-button.component.ts +++ b/client/src/app/shared/shared-main/buttons/delete-button.component.ts @@ -2,17 +2,16 @@ import { Component, Input, OnInit } from '@angular/core' @Component({ selector: 'my-delete-button', - styleUrls: [ './button.component.scss' ], - templateUrl: './delete-button.component.html' + template: ` + + ` }) - export class DeleteButtonComponent implements OnInit { @Input() label: string @Input() title: string @Input() responsiveLabel = false ngOnInit () { - // No label if (this.label === undefined && !this.title) { this.title = $localize`Delete` }