mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 01:39:37 +02:00
Force to choose a channel to reorder playlists
This commit is contained in:
parent
42bf34c29a
commit
3d75a7288f
2 changed files with 9 additions and 11 deletions
|
@ -1,4 +1,3 @@
|
|||
@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>
|
||||
|
@ -9,7 +8,6 @@
|
|||
}
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
|
||||
<my-table
|
||||
#table
|
||||
|
|
|
@ -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: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue