]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/buttons/button.component.ts
Add get user cache for comments
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / buttons / button.component.ts
index 6d34d07f4697ef4db120726c141b088757cc1fa1..cac5ad210ff9d6a609db9fba01feb5965861f2cb 100644 (file)
@@ -9,9 +9,10 @@ import { GlobalIconName } from '@app/shared/images/global-icon.component'
 
 export class ButtonComponent {
   @Input() label = ''
-  @Input() className: 'orange-button' | 'grey-button' = 'grey-button'
+  @Input() className = 'grey-button'
   @Input() icon: GlobalIconName = undefined
   @Input() title: string = undefined
+  @Input() loading = false
 
   getTitle () {
     return this.title || this.label