Skip to content

Commit 60b571b

Browse files
committed
Make it possible to change selected data when loading fails
1 parent 1a6059c commit 60b571b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

site/frontend/src/pages/compare/page.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@ loadCompareData(selector, loading);
9797
<template>
9898
<div>
9999
<Header :data="data" :selector="selector" />
100-
<div v-if="loading || data === null">
100+
<DataSelector :start="selector.start" :end="selector.end" :stat="selector.stat"
101+
:info="info" @change="updateSelection" />
102+
<div v-if="loading">
101103
<p>Loading ...</p>
102104
</div>
103-
<div v-else>
104-
<DataSelector :start="selector.start" :end="selector.end" :stat="selector.stat"
105-
:info="info" @change="updateSelection" />
105+
<div v-if="data !== null">
106106
<QuickLinks :stat="selector.stat" />
107107
<Filters :defaultFilter="defaultFilter" @change="f => filter = f"
108108
@export="exportData" />

0 commit comments

Comments
 (0)