Public Access
feat(library): add not the same game button to editions
Part of Gitea #34 slice 1 of 3: one entry per game across platforms. Status, rating and notes are shared, so the detail page reloads after a save.
This commit is contained in:
1 parent
e136a7abc1
commit
25cc5ff2d8
7 files changed
+107
-14
No files matched your search
@@ -104,7 +104,11 @@ export default function GameDetail() {
|
||||
<CompletedHint game={data} onChanged={(entry) => setData((d) => ({...d, ...entry}))}/>
|
||||
|
||||
<BacklogCard key={data.appid} game={data}
|
||||
onSaved={(entry) => setData((d) => ({...d, ...entry}))}/>
|
||||
onSaved={(entry) => {
|
||||
setData((d) => ({...d, ...entry}));
|
||||
// The other editions share status, rating and notes.
|
||||
if (data.editions?.length) reload();
|
||||
}}/>
|
||||
|
||||
<EditionsCard game={data} auditor={auditor} onRequest={() => setLinking(true)} onChanged={reload}/>
|
||||
|
||||
|
||||
Reference in new issue
Block a user