Public Access
feat(games): add coming badge for unreleased games
This commit is contained in:
1 parent
edeea5a43d
commit
c158909083
17 files changed
+169
-3
No files matched your search
@@ -8,7 +8,7 @@ import {cn} from '@/lib/utils';
|
||||
import GameCover from './GameCover.jsx';
|
||||
import PileTrend from './stats/PileTrend.jsx';
|
||||
import {StatCount} from './stats/StatDrill.jsx';
|
||||
import {backlogShare} from '../utils/backlog.js';
|
||||
import {backlogShare, pileGames} from '../utils/backlog.js';
|
||||
import {sliceColors, statusSlices} from '../utils/statCharts.js';
|
||||
import {formatPlaytime} from '../utils/games.js';
|
||||
import {libraryLink} from '../utils/statGames.js';
|
||||
@@ -18,7 +18,7 @@ import {libraryLink} from '../utils/statGames.js';
|
||||
*/
|
||||
export default function PileOfShameCard({summary, trend, syncing, onShuffle, shuffling}) {
|
||||
const {t, i18n} = useTranslation();
|
||||
const backlog = summary.byStatus?.BACKLOG ?? 0;
|
||||
const backlog = pileGames(summary);
|
||||
const suggestion = summary.suggestion;
|
||||
const slices = statusSlices(summary.byStatus);
|
||||
const colors = sliceColors(slices);
|
||||
|
||||
Reference in new issue
Block a user