restore entity count in Scope collapsed header
Some checks failed
ci / build-test (push) Has been cancelled
ci / docker-build (push) Has been cancelled
Desktop App / Build Linux (amd64) (push) Has been cancelled
Desktop App / Attach to Release (push) Has been cancelled

This commit is contained in:
2026-07-14 13:42:25 +02:00
parent 5caf49bf48
commit 5f82627fa8
2 changed files with 3 additions and 3 deletions

View File

@@ -1 +1 @@
0.4.0
0.4.1

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { onMount } from 'svelte'
import { startWorkspace, planSteps, currentTask } from '$lib/stores/workspace'
import { startWorkspace, planSteps, currentTask, touched } from '$lib/stores/workspace'
import { activityLog } from '$lib/stores/activity'
import { streaming } from '$lib/stores/chat'
import OperatorQuestion from './OperatorQuestion.svelte'
@@ -74,7 +74,7 @@
{#if scopeOpen}<ChevronDownIcon class="size-3" />{:else}<ChevronRightIcon class="size-3" />{/if}
<span>Scope</span>
{#if !scopeOpen}
<span class="ml-auto font-normal normal-case">Graph</span>
<span class="ml-auto font-normal normal-case">{$touched.length ? `${$touched.length} entit${$touched.length === 1 ? 'y' : 'ies'}` : 'Graph'}</span>
{/if}
</button>
{#if scopeOpen}