diff --git a/frontend/src/pages/Dashboard.tsx b/frontend/src/pages/Dashboard.tsx index cbb1588..14a10a0 100644 --- a/frontend/src/pages/Dashboard.tsx +++ b/frontend/src/pages/Dashboard.tsx @@ -152,9 +152,10 @@ const Dashboard: React.FC = () => { const filteredMissing = useMemo(() => { if (!data) return []; let items = data.missing_flavors.filter(f => { + const isNotPack = f.category_name !== 'Packs and other'; const matchCat = exploreCategory === 'All' || f.category_name === exploreCategory; const matchSearch = f.name.toLowerCase().includes(exploreSearch.toLowerCase()); - return matchCat && matchSearch; + return isNotPack && matchCat && matchSearch; }); if (exploreSort === 'community') { @@ -287,12 +288,12 @@ const Dashboard: React.FC = () => { - + @@ -300,7 +301,7 @@ const Dashboard: React.FC = () => { fullWidth size="small" variant={ratedSort === 'rating' ? 'contained' : 'text'} onClick={() => setRatedSort('rating')} - sx={{ textTransform: 'none', fontWeight: 'bold', borderRadius: 0.8, height: 32, px: { xs: 1, sm: 2 }, fontSize: '0.8rem', whiteSpace: 'nowrap', minWidth: 'fit-content' }} + sx={{ textTransform: 'none', fontWeight: 'bold', borderRadius: 0.8, height: 34, px: 3, fontSize: '0.8rem', whiteSpace: 'nowrap', minWidth: 'fit-content' }} > {t('dashboard.rating')} @@ -463,12 +464,12 @@ const Dashboard: React.FC = () => { - + @@ -476,7 +477,7 @@ const Dashboard: React.FC = () => { fullWidth size="small" variant={exploreSort === 'circle' ? 'contained' : 'text'} onClick={() => setExploreSort('circle')} - sx={{ textTransform: 'none', fontWeight: 'bold', borderRadius: 0.8, height: 32, px: { xs: 1, sm: 2 }, fontSize: '0.8rem', whiteSpace: 'nowrap', minWidth: 'fit-content' }} + sx={{ textTransform: 'none', fontWeight: 'bold', borderRadius: 0.8, height: 34, px: 3, fontSize: '0.8rem', whiteSpace: 'nowrap', minWidth: 'fit-content' }} > {t('dashboard.circleRating')}