update
This commit is contained in:
@@ -500,6 +500,7 @@ onMounted(async () => {
|
||||
:progress="blocks.progress"
|
||||
:ready="blocks.ready"
|
||||
:partial="blocks.partial"
|
||||
:error="blocks.error"
|
||||
:guideFormat="guideBoardFormat"
|
||||
@close="mainView = 'blocks'"
|
||||
@resetStage="handleResetStage"
|
||||
|
||||
@@ -14,6 +14,7 @@ const props = defineProps({
|
||||
progress: { type: String, default: null },
|
||||
ready: { type: Boolean, default: false },
|
||||
partial: { type: Boolean, default: false },
|
||||
error: { type: String, default: null },
|
||||
guideFormat: { type: String, default: 'Guide' },
|
||||
})
|
||||
const emit = defineEmits(['close', 'resetStage', 'restartAll', 'continueAll', 'addResearch',
|
||||
@@ -203,9 +204,10 @@ async function repairClick() {
|
||||
<button class="gen-act play" @click="emit('restartAll')">{{ ready || partial ? '+ Recherche' : 'Generieren' }}</button>
|
||||
<button v-if="partial" class="gen-act" @click="emit('continueAll')">Fortsetzen</button>
|
||||
<button
|
||||
v-if="ready || partial"
|
||||
v-if="ready || partial || error"
|
||||
class="gen-act danger"
|
||||
:class="{ armed: isArmed('remove') }"
|
||||
:title="error ? 'Räumt Crawl/Reste auf — danach neu generierbar' : ''"
|
||||
@click="armOrRun('remove', () => later(() => emit('removeAll')))"
|
||||
>{{ isArmed('remove') ? 'Sicher?' : 'Entfernen' }}</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user