Fix minimal state

This commit is contained in:
grove5_admin committed 2026-04-28 12:09:48 -07:00
1 parent 0d0c4ed9c0
commit a2d4205849
1 file changed
+2 -2
+2 -2
View File
@@ -57,8 +57,8 @@
const history = $derived(cv.environment.history); const history = $derived(cv.environment.history);
const targets = $derived(cv.environment.targets); const targets = $derived(cv.environment.targets);
const hw = $derived(cv.hardware); const hw = $derived(cv.hardware);
const colChamber = $derived(chambers.find(c => c.type === 'colonization') ?? chambers[0] ?? { type: 'colonization', slots: [] }); const colChamber = $derived(chambers.find(c => c.type === 'colonization') ?? chambers[0] ?? { type: 'colonization', slots: [], environment: { temp_c: 0, rh_pct: 0 } });
const fruitChamber = $derived(chambers.find(c => c.type === 'fruiting') ?? chambers[1] ?? { type: 'fruiting', slots: [] }); const fruitChamber = $derived(chambers.find(c => c.type === 'fruiting') ?? chambers[1] ?? { type: 'fruiting', slots: [], environment: { temp_c: 0, rh_pct: 0 } });
const allBags = $derived( const allBags = $derived(
chambers.flatMap(c => chambers.flatMap(c =>