ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix unsubscribe button label for channels
Chocobozzz626aa929cfb9
diff --git a/client/src/app/shared/shared-user-subscription/subscribe-button.component.html b/client/src/app/shared/shared-user-subscription/subscribe-button.component.htmlindex 002e3ed6c4..d6dac63938 100644--- a/client/src/app/shared/shared-user-subscription/subscribe-button.component.html+++ b/client/src/app/shared/shared-user-subscription/subscribe-button.component.html@@ -22,7 +22,11 @@@if (isUserLoggedIn()) {@if (isAllChannelsSubscribed) {<button type="button" [ngClass]="buttonClasses" class="btn last-in-group" (click)="unsubscribe()">- <ng-container i18n>{account + "", select, undefined {Unsubscribe} other {Unsubscribe from all channels}}</ng-container>+ @if (account()) {+ <ng-container i18n>Unsubscribe from all channels</ng-container>+ } @else {+ <ng-container i18n>Unsubscribe</ng-container>+ }</button>} @else {<button type="button" [ngClass]="buttonClasses" class="btn" (click)="subscribe()">