From f2d391b22907d664745c14d5d888bcd97bbfa6bf Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 15 May 2026 21:32:14 -0400 Subject: [PATCH 1/2] fix(ui): replace undefined pullProgress with jobFor in Models.vue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Curated-preset card template at lines 501-502 referenced `pullProgress[preset.id]` — symbol not defined on the component. The script setup uses `pullJobs` (a reactive() of usePullJob() instances) keyed by model id, with `jobFor(id)` as the accessor. Vue render threw on every modal open with: Cannot read properties of undefined (reading 'qwen3-4b') …which crashed the modal subtree before

ever mounted, so users (and γ-3) saw the Pull-model button click do nothing. Swap to the same pattern already used for the inline row progress bar (line 366 etc): `jobFor(preset.id)?.inFlight.value`. `jobFor` returns null when no job exists, optional chain handles that; the ref is explicitly unwrapped because `pullJobs` is a reactive of plain usePullJob() return objects, not a reactive containing refs. Co-Authored-By: Claude Opus 4.7 --- ui/src/views/Models.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/views/Models.vue b/ui/src/views/Models.vue index 32b37606..fb03bc4e 100644 --- a/ui/src/views/Models.vue +++ b/ui/src/views/Models.vue @@ -498,8 +498,8 @@ const QUANTS = ['Q4_K_M', 'Q5_K_M', 'Q8_0', 'F16', 'BF16'] :disabled="pulling" @click="pullCurated(preset)" > -