Public Access
feat(play-next): page that picks the next backlog game
This commit is contained in:
1 parent
8dcd03f219
commit
2efdf64675
10 files changed
+502
-7
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import {Link} from 'react-router-dom';
|
||||
import {useTranslation} from 'react-i18next';
|
||||
import {Inbox, Shuffle} from 'lucide-react';
|
||||
import {Dices, Inbox, Shuffle} from 'lucide-react';
|
||||
|
||||
import {Button} from '@/components/ui/button';
|
||||
import {Card} from '@/components/ui/card';
|
||||
@@ -86,6 +86,9 @@ export default function PileOfShameCard({summary, syncing, onShuffle, shuffling}
|
||||
{suggestion.name ?? `App ${suggestion.appid}`}
|
||||
</span>
|
||||
</Link>
|
||||
<Button asChild variant="outline" size="sm" className="w-full">
|
||||
<Link to="/play-next"><Dices/>{t('DASHBOARD.OPEN_PICKER')}</Link>
|
||||
</Button>
|
||||
</div>
|
||||
) : (
|
||||
<p className="text-sm text-muted-foreground">{t('DASHBOARD.BACKLOG_EMPTY')}</p>
|
||||
|
||||
Reference in new issue
Block a user