diff --git a/frontend/src/components/TopicSidebar.vue b/frontend/src/components/TopicSidebar.vue index e7ad965..9aefcb0 100644 --- a/frontend/src/components/TopicSidebar.vue +++ b/frontend/src/components/TopicSidebar.vue @@ -93,17 +93,9 @@ function confirmResetBlocks() { armOrRun('blocks', () => emit('resetBausteine')) } -function handleBlocksPlay() { - if (blocksState.value === 'generating') return - // "Regenerate" (ready) = from start; first build/resume without deleting. Fine re-run via overview. - const abPhase = props.blocks.ready ? 1 : null - emit('bausteineClick', { instructions: '', abPhase }) -} - -// Name click = primary action: finished blocks → overview, otherwise toggle panel. +// Name click = open the block overview (generate/resume/remove all live there now). function onBlocksName() { - if (props.blocks.ready && !props.blocks.generating) emit('openBausteineView') - else togglePanel('blocks') + emit('openBausteineView') } function guideStatus(format) { @@ -380,14 +372,13 @@ function saveSource() { title="Aborted — can be resumed" >Paused - +