Fix read correct view style from config on channel video page

This commit is contained in:
MerlinScheurer 2025-01-01 12:49:58 +01:00
parent 8e463a818a
commit d0b4f6cdbf
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ const ChannelVideo = ({ videoType }: ChannelVideoProps) => {
const [hideWatched, setHideWatched] = useState(userMeConfig.hide_watched || false);
const [sortBy, setSortBy] = useState<SortByType>(userMeConfig.sort_by || 'published');
const [sortOrder, setSortOrder] = useState<SortOrderType>(userMeConfig.sort_order || 'asc');
const [view, setView] = useState<ViewLayoutType>(userMeConfig.view_style_home || 'grid');
const [view, setView] = useState<ViewLayoutType>(userMeConfig.view_style_channel || 'grid');
const [gridItems, setGridItems] = useState(userMeConfig.grid_items || 3);
const [refresh, setRefresh] = useState(false);