aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/src/routes
diff options
context:
space:
mode:
Diffstat (limited to 'web/pw-server/src/routes')
-rw-r--r--web/pw-server/src/routes/editor.svelte2
-rw-r--r--web/pw-server/src/routes/matches/[match_id].svelte2
2 files changed, 2 insertions, 2 deletions
diff --git a/web/pw-server/src/routes/editor.svelte b/web/pw-server/src/routes/editor.svelte
index ee4eef9..ab33a79 100644
--- a/web/pw-server/src/routes/editor.svelte
+++ b/web/pw-server/src/routes/editor.svelte
@@ -157,7 +157,7 @@
</div>
<div class="sidebar-right">
{#if viewMode === ViewMode.MatchVisualizer}
- <OutputPane matchLog={selectedMatchLog} />
+ <OutputPane matchData={selectedMatch} matchLog={selectedMatchLog} />
{:else if viewMode === ViewMode.Editor}
<SubmitPane {editSession} on:matchCreated={onMatchCreated} />
{/if}
diff --git a/web/pw-server/src/routes/matches/[match_id].svelte b/web/pw-server/src/routes/matches/[match_id].svelte
index 1d5e072..e7468bd 100644
--- a/web/pw-server/src/routes/matches/[match_id].svelte
+++ b/web/pw-server/src/routes/matches/[match_id].svelte
@@ -101,7 +101,7 @@
{/if}
</div>
<div class="player-log">
- <PlayerLog {matchLog} playerId={selectedPlayer?.["playerId"]} />
+ <PlayerLog {matchData} {matchLog} playerId={selectedPlayer?.["playerId"]} />
</div>
</div>
{/if}