aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/src/routes/editor.svelte
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-08-21 21:18:06 +0200
committerIlion Beyst <ilion.beyst@gmail.com>2022-08-21 21:18:06 +0200
commit8eec57f5606c1d1757383f4c0ca40d2cc3334572 (patch)
tree49d69c8864f59db52061f1222a43e00266e6ab04 /web/pw-server/src/routes/editor.svelte
parent64d24c9e3d7e744788644b00cdb2ec44a999d9cd (diff)
downloadplanetwars.dev-8eec57f5606c1d1757383f4c0ca40d2cc3334572.tar.xz
planetwars.dev-8eec57f5606c1d1757383f4c0ca40d2cc3334572.zip
extract leaderboard from editor
Diffstat (limited to 'web/pw-server/src/routes/editor.svelte')
-rw-r--r--web/pw-server/src/routes/editor.svelte10
1 files changed, 0 insertions, 10 deletions
diff --git a/web/pw-server/src/routes/editor.svelte b/web/pw-server/src/routes/editor.svelte
index 85c2454..e85f572 100644
--- a/web/pw-server/src/routes/editor.svelte
+++ b/web/pw-server/src/routes/editor.svelte
@@ -19,7 +19,6 @@
Editor,
MatchVisualizer,
Rules,
- Leaderboard,
}
let matches = [];
@@ -153,13 +152,6 @@
>
Rules
</div>
- <div
- class="sidebar-item"
- class:selected={viewMode === ViewMode.Leaderboard}
- on:click={() => setViewMode(ViewMode.Leaderboard)}
- >
- Leaderboard
- </div>
<div class="sidebar-header">match history</div>
<ul class="match-list">
{#each matches as match}
@@ -184,8 +176,6 @@
<EditorView {editSession} />
{:else if viewMode === ViewMode.Rules}
<RulesView />
- {:else if viewMode === ViewMode.Leaderboard}
- <Leaderboard />
{/if}
</div>
<div class="sidebar-right">