X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fbuttons%2Fbutton.component.ts;h=cac5ad210ff9d6a609db9fba01feb5965861f2cb;hb=b5f919ac8eb2a1c20e26582fdfd377d687710d8f;hp=a91e9c7eb1b140606494d1ffb3a84aee5e40b7e4;hpb=88108880bbdba473cfe36ecbebc1c3c4f972e102;p=oweals%2Fpeertube.git diff --git a/client/src/app/shared/buttons/button.component.ts b/client/src/app/shared/buttons/button.component.ts index a91e9c7eb..cac5ad210 100644 --- a/client/src/app/shared/buttons/button.component.ts +++ b/client/src/app/shared/buttons/button.component.ts @@ -1,5 +1,5 @@ import { Component, Input } from '@angular/core' -import { GlobalIconName } from '@app/shared/icons/global-icon.component' +import { GlobalIconName } from '@app/shared/images/global-icon.component' @Component({ selector: 'my-button', @@ -9,9 +9,10 @@ import { GlobalIconName } from '@app/shared/icons/global-icon.component' export class ButtonComponent { @Input() label = '' - @Input() className: string = undefined + @Input() className = 'grey-button' @Input() icon: GlobalIconName = undefined @Input() title: string = undefined + @Input() loading = false getTitle () { return this.title || this.label