mirror of
https://github.com/VueTubeApp/VueTube
synced 2024-11-25 12:45:17 +00:00
Replace short hand type conversions with JavaScript methods
This commit is contained in:
parent
106fdf38e5
commit
92ae6815d3
1 changed files with 2 additions and 2 deletions
|
@ -52,8 +52,8 @@ export const actions = {
|
||||||
const featuredSection =
|
const featuredSection =
|
||||||
channel.contents.singleColumnBrowseResultsRenderer.tabs[0].tabRenderer.content.sectionListRenderer.contents.find(
|
channel.contents.singleColumnBrowseResultsRenderer.tabs[0].tabRenderer.content.sectionListRenderer.contents.find(
|
||||||
(i) => {
|
(i) => {
|
||||||
return !!i?.shelfRenderer?.content?.horizontalListRenderer
|
return Boolean(i?.shelfRenderer?.content?.horizontalListRenderer
|
||||||
?.items[0].gridChannelRenderer;
|
?.items[0].gridChannelRenderer);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
state.featuredChannels =
|
state.featuredChannels =
|
||||||
|
|
Loading…
Reference in a new issue