diff options
author | Chocobozzz <me@florianbigard.com> | 2021-11-03 14:23:55 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-11-03 14:23:55 +0100 |
commit | dd6d2a7ce50e7ff02e00995ccc87f8f929ad9709 (patch) | |
tree | b71ed391c2d8f99bff40dd3461010876de7bb23c /client/src/app/+my-library/my-videos | |
parent | d324756edb836672f12284cd18e642a658b273d8 (diff) | |
download | PeerTube-dd6d2a7ce50e7ff02e00995ccc87f8f929ad9709.tar.gz PeerTube-dd6d2a7ce50e7ff02e00995ccc87f8f929ad9709.tar.zst PeerTube-dd6d2a7ce50e7ff02e00995ccc87f8f929ad9709.zip |
Improve advanced input filter
Diffstat (limited to 'client/src/app/+my-library/my-videos')
-rw-r--r-- | client/src/app/+my-library/my-videos/my-videos.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+my-library/my-videos/my-videos.component.ts b/client/src/app/+my-library/my-videos/my-videos.component.ts index a117d0915..261e87f99 100644 --- a/client/src/app/+my-library/my-videos/my-videos.component.ts +++ b/client/src/app/+my-library/my-videos/my-videos.component.ts | |||
@@ -82,7 +82,7 @@ export class MyVideosComponent implements OnInit, DisableForReuseHook { | |||
82 | 82 | ||
83 | const channelFilters = this.userChannels.map(c => { | 83 | const channelFilters = this.userChannels.map(c => { |
84 | return { | 84 | return { |
85 | queryParams: { search: 'channel:' + c.name }, | 85 | value: 'channel:' + c.name, |
86 | label: c.name | 86 | label: c.name |
87 | } | 87 | } |
88 | }) | 88 | }) |
@@ -92,7 +92,7 @@ export class MyVideosComponent implements OnInit, DisableForReuseHook { | |||
92 | title: $localize`Advanced filters`, | 92 | title: $localize`Advanced filters`, |
93 | children: [ | 93 | children: [ |
94 | { | 94 | { |
95 | queryParams: { search: 'isLive:true' }, | 95 | value: 'isLive:true', |
96 | label: $localize`Only live videos` | 96 | label: $localize`Only live videos` |
97 | } | 97 | } |
98 | ] | 98 | ] |