aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-custom-markup/custom-markup.service.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-08-02 16:50:56 +0200
committerChocobozzz <me@florianbigard.com>2021-08-02 17:10:07 +0200
commitff4de38385049bf8f6e1d76d8511854fcfabc71c (patch)
tree217dba89333609fc0255c2efbc38c0e7a8379bb8 /client/src/app/shared/shared-custom-markup/custom-markup.service.ts
parent3da38d6e9f8d600476be276666ac7223aa5f172c (diff)
downloadPeerTube-ff4de38385049bf8f6e1d76d8511854fcfabc71c.tar.gz
PeerTube-ff4de38385049bf8f6e1d76d8511854fcfabc71c.tar.zst
PeerTube-ff4de38385049bf8f6e1d76d8511854fcfabc71c.zip
Filter videos by live in custom markup
Diffstat (limited to 'client/src/app/shared/shared-custom-markup/custom-markup.service.ts')
-rw-r--r--client/src/app/shared/shared-custom-markup/custom-markup.service.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/shared/shared-custom-markup/custom-markup.service.ts b/client/src/app/shared/shared-custom-markup/custom-markup.service.ts
index 089728a51..c9d33980e 100644
--- a/client/src/app/shared/shared-custom-markup/custom-markup.service.ts
+++ b/client/src/app/shared/shared-custom-markup/custom-markup.service.ts
@@ -191,6 +191,8 @@ export class CustomMarkupService {
191 accountHandle: data.accountHandle || undefined, 191 accountHandle: data.accountHandle || undefined,
192 channelHandle: data.channelHandle || undefined, 192 channelHandle: data.channelHandle || undefined,
193 193
194 isLive: this.buildBoolean(data.isLive),
195
194 filter: this.buildBoolean(data.onlyLocal) ? 'local' as VideoFilter : undefined 196 filter: this.buildBoolean(data.onlyLocal) ? 'local' as VideoFilter : undefined
195 } 197 }
196 198