stream type string or array
This commit is contained in:
parent
67bcc1b1ec
commit
fe35ea3764
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@ function ClaimListDiscover(props: Props) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (streamTypeParam && streamTypeParam !== CS.CONTENT_ALL && claimType !== CS.CLAIM_CHANNEL) {
|
if (streamTypeParam && streamTypeParam !== CS.CONTENT_ALL && claimType !== CS.CLAIM_CHANNEL) {
|
||||||
options.stream_types = [streamTypeParam];
|
options.stream_types = typeof streamTypeParam === 'string' ? [streamTypeParam] : streamTypeParam;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (claimTypeParam) {
|
if (claimTypeParam) {
|
||||||
|
|
Loading…
Reference in a new issue