diff --git a/src/App.vue b/src/App.vue index 162bddf..731e8b3 100644 --- a/src/App.vue +++ b/src/App.vue @@ -164,6 +164,7 @@ function toggleRun(hash: string) { } function toggleCollapseAll() { + if (!built.value.collapsible) return showToast("nothing to fold: no run of 3 or more plain commits"); collapseAll.value = !collapseAll.value; toggled.value = new Set(); } @@ -244,7 +245,13 @@ onUnmounted(() => { {{ repo.root }} {{ visibleCommits.length }} commits · {{ visibleRefs.length }}/{{ repo.refs.length }} refs -