Fix minimal state
This commit is contained in:
1 parent
0d0c4ed9c0
commit
a2d4205849
1 file changed
+2
-2
@@ -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 =>
|
||||||
|
|||||||
Reference in new issue
Block a user