From 9293a9b19896528168e6933ef308e9c1f107e20a Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Sat, 13 Jun 2026 23:46:40 -0400 Subject: [PATCH] =?UTF-8?q?fix(issues):=20S4a=20typecheck=20=E2=80=94=20al?= =?UTF-8?q?low=20null=20color=20in=20updateSystem=20param?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit vue-tsc TS2345: System.color is string|null, but updateSystem's data param typed color as string, so the store's Partial> wasn't assignable. Widen the param's color to string|null (clearing a color is valid). Refs plan 825 (S4a). Co-Authored-By: Claude Opus 4.8 (1M context) --- frontend/src/api/systems.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/api/systems.ts b/frontend/src/api/systems.ts index d5d8012..5206f58 100644 --- a/frontend/src/api/systems.ts +++ b/frontend/src/api/systems.ts @@ -31,7 +31,7 @@ export async function updateSystem( data: Partial<{ name: string; description: string; - color: string; + color: string | null; status: "active" | "archived"; order_index: number; }>,