]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/buttons/button.component.html
Set a default background color for account avatar
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / buttons / button.component.html
index b6df671029e3f21948b465e4da8189a1e4acc820..d2b0eb81a8a329ed856445ff8850badc09f73949 100644 (file)
@@ -1,4 +1,6 @@
 <span class="action-button" [ngClass]="className" [title]="getTitle()">
-  <my-global-icon [iconName]="icon"></my-global-icon>
+  <my-global-icon *ngIf="!loading" [iconName]="icon"></my-global-icon>
+  <my-small-loader [loading]="loading"></my-small-loader>
+
   <span class="button-label">{{ label }}</span>
 </span>