From 1c3cc699d436b0afb49c895fe302bba0b8fb2cff Mon Sep 17 00:00:00 2001 From: Alex Cheema <41707476+AlexCheema@users.noreply.github.com> Date: Fri, 13 Feb 2026 08:37:32 -0800 Subject: [PATCH] fix: add missing getModelFitStatus prop to Recent tab (#1470) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary - Clicking the **Recent** tab in the Model Picker crashed with `TypeError: e.getModelFitStatus is not a function` - The `ModelPickerGroup` component in the Recent tab section was missing the `{getModelFitStatus}` prop, while all other tabs (e.g., the main model list) passed it correctly - Added the missing `{getModelFitStatus}` prop so the Recent tab renders without errors, matching the behavior of the other tabs ## Test plan - [ ] Open the dashboard and click **SELECT MODEL** - [ ] Switch to the **Recent** tab — verify it renders without crashing - [ ] Confirm model fit status indicators display correctly on recent models - [ ] Verify the other tabs (All, Favorites) still work as before 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 --- dashboard/src/lib/components/ModelPickerModal.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/dashboard/src/lib/components/ModelPickerModal.svelte b/dashboard/src/lib/components/ModelPickerModal.svelte index 21d8228e..84a93ee7 100644 --- a/dashboard/src/lib/components/ModelPickerModal.svelte +++ b/dashboard/src/lib/components/ModelPickerModal.svelte @@ -806,6 +806,7 @@ isFavorite={favorites.has(group.id)} {selectedModelId} {canModelFit} + {getModelFitStatus} onToggleExpand={() => toggleGroupExpanded(group.id)} onSelectModel={handleSelect} {onToggleFavorite}