ActivityPub-federated video streaming platform using P2P directly in your web browser
Force to choose a channel to reorder playlists
Chocobozzz3d75a7288ff6
diff --git a/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.html b/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.htmlindex 094b9d6f87..7ea5b644b9 100644--- a/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.html+++ b/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.html@@ -1,15 +1,13 @@-@if (user.videoChannels.length > 1) {- <div class="form-group">- <div class="label" i18n>Filter by a channel</div>- <div class="form-group-description" i18n>This allows you to reorder playlists assigned to it</div>+<div class="form-group">+ <div class="label" i18n>Filter by a channel</div>+ <div class="form-group-description" i18n>This allows you to reorder playlists assigned to it</div>- <div class="channel-filters">- @for (channel of channels; track channel.id) {- <my-channel-toggle [channel]="channel" [(ngModel)]="channel.selected" (ngModelChange)="onChannelFilter(channel)"></my-channel-toggle>- }- </div>+ <div class="channel-filters">+ @for (channel of channels; track channel.id) {+ <my-channel-toggle [channel]="channel" [(ngModel)]="channel.selected" (ngModelChange)="onChannelFilter(channel)"></my-channel-toggle>+ }</div>-}+</div><my-table#tablediff --git a/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.ts b/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.tsindex 43d1ff1945..57713d5119 100644--- a/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.ts+++ b/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.ts@@ -212,7 +212,7 @@ export class MyVideoPlaylistsComponent implements OnInit, OnDestroy {}hasReorderableRows () {- return !!this.getFilteredChannel() || this.user.videoChannels.length === 1+ return !!this.getFilteredChannel()}private _dataLoader (options: {