From fe35ea3764781bfd2f86393533dc1c6bdac6608f Mon Sep 17 00:00:00 2001 From: zeppi Date: Tue, 3 Aug 2021 14:34:48 -0400 Subject: [PATCH] stream type string or array --- ui/component/claimListDiscover/view.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/component/claimListDiscover/view.jsx b/ui/component/claimListDiscover/view.jsx index 76c95bd01..0b18272e6 100644 --- a/ui/component/claimListDiscover/view.jsx +++ b/ui/component/claimListDiscover/view.jsx @@ -319,7 +319,7 @@ function ClaimListDiscover(props: Props) { } if (streamTypeParam && streamTypeParam !== CS.CONTENT_ALL && claimType !== CS.CLAIM_CHANNEL) { - options.stream_types = [streamTypeParam]; + options.stream_types = typeof streamTypeParam === 'string' ? [streamTypeParam] : streamTypeParam; } if (claimTypeParam) {