From 0eb3890e731685a8d15dcf4cffbef46f5b0c6aed Mon Sep 17 00:00:00 2001 From: Renzo <6025850@mborijnland.nl> Date: Tue, 26 Mar 2024 10:59:44 +0100 Subject: [PATCH] Planten OOP V1.2 --- src/py/script/plants.json | 6 ------ src/py/static/js/planten.class.js | 1 + 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/py/script/plants.json b/src/py/script/plants.json index d5d1df0..4d4c8ef 100644 --- a/src/py/script/plants.json +++ b/src/py/script/plants.json @@ -22,11 +22,5 @@ "plant_naam": "Sla", "plantensoort": "Groente", "plant_geteelt": 1 - }, - { - "id": 52, - "plant_naam": "Wietplant", - "plantensoort": "Onkruid", - "plant_geteelt": 0 } ] \ No newline at end of file diff --git a/src/py/static/js/planten.class.js b/src/py/static/js/planten.class.js index 7f3fe96..61a6f5d 100644 --- a/src/py/static/js/planten.class.js +++ b/src/py/static/js/planten.class.js @@ -96,6 +96,7 @@ class PlantGrid { plantenTable.appendChild(tr); }); + } }