aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-main/buttons/button.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/shared-main/buttons/button.component.ts')
-rw-r--r--client/src/app/shared/shared-main/buttons/button.component.ts2
1 files changed, 2 insertions, 0 deletions
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 52936a4d4..476057823 100644
--- a/client/src/app/shared/shared-main/buttons/button.component.ts
+++ b/client/src/app/shared/shared-main/buttons/button.component.ts
@@ -11,6 +11,7 @@ export class ButtonComponent {
11 @Input() label = '' 11 @Input() label = ''
12 @Input() className = 'grey-button' 12 @Input() className = 'grey-button'
13 @Input() icon: GlobalIconName = undefined 13 @Input() icon: GlobalIconName = undefined
14 @Input() routerLink: string[] | string
14 @Input() title: string = undefined 15 @Input() title: string = undefined
15 @Input() loading = false 16 @Input() loading = false
16 @Input() disabled = false 17 @Input() disabled = false
@@ -21,6 +22,7 @@ export class ButtonComponent {
21 [this.className]: true, 22 [this.className]: true,
22 disabled: this.disabled, 23 disabled: this.disabled,
23 'icon-only': !this.label, 24 'icon-only': !this.label,
25 'has-icon': !!this.icon,
24 'responsive-label': this.responsiveLabel 26 'responsive-label': this.responsiveLabel
25 } 27 }
26 } 28 }