update
This commit is contained in:
@@ -91,8 +91,8 @@ async function starten() {
|
||||
}
|
||||
|
||||
async function stoppen() {
|
||||
await api.stop(topic.value)
|
||||
await stateLaden()
|
||||
try { fehler.value = ''; await api.stop(topic.value); await stateLaden() }
|
||||
catch (e) { fehler.value = String(e) } // sonst läuft der Lauf weiter, ohne Signal
|
||||
}
|
||||
|
||||
const transferOk = ref(false) // nur im lokalen Dev-Betrieb (Server: 403)
|
||||
@@ -205,7 +205,8 @@ function runBadge(run) {
|
||||
</select>
|
||||
</div>
|
||||
<div class="inhalt">
|
||||
<Board v-if="tab === 'board'" :state="state" :topic="topic" @reload="stateLaden" />
|
||||
<Board v-if="tab === 'board'" :state="state" :topic="topic" @reload="stateLaden"
|
||||
@fehler="(e) => (fehler = e)" />
|
||||
<Guide v-else-if="tab === 'guide'" :topic="topic" :state="state" />
|
||||
<Ueben v-else-if="tab === 'üben'" :topic="topic" />
|
||||
<Kennzahlen v-else :run="state?.run" />
|
||||
|
||||
Reference in New Issue
Block a user