]> git.localhorst.tv Git - alttp.git/commitdiff
always fill scorechart
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Tue, 12 Apr 2022 18:57:30 +0000 (20:57 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Tue, 12 Apr 2022 18:57:30 +0000 (20:57 +0200)
for now

resources/js/helpers/Tournament.js

index 7ff04df0d821da7874e58a56f2337bc69c8d12ea..fac1681f2bbc94170f41715f9a69238019e0ed9a 100644 (file)
@@ -44,8 +44,8 @@ export const getScoreTable = tournament => {
                        const result = Participant.findResult(participant, round);
                        if (result && result.score) {
                                running[participant.id] += result.score;
-                               entry[Participant.getUserName(participant)] = running[participant.id];
                        }
+                       entry[Participant.getUserName(participant)] = running[participant.id];
                });
                return entry;
        });