diff --git a/package-lock.json b/package-lock.json index 8c6510a..5d362b1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "socrates-web", - "version": "0.0.23", + "version": "1.0.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "socrates-web", - "version": "0.0.23", + "version": "1.0.5", "dependencies": { "chart.js": "^4.3.0", "element-plus": "^2.3.5", diff --git a/package.json b/package.json index 1ff98ba..9c779ff 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "socrates-web", "private": true, - "version": "1.0.4", + "version": "1.0.5", "type": "module", "homepage": "https://soil-and-land.github.io/socrates-web/", "scripts": { diff --git a/public/sample-data-20-year.json b/public/sample-data-20-year.json index bd6c2e1..27caea3 100644 --- a/public/sample-data-20-year.json +++ b/public/sample-data-20-year.json @@ -45,7 +45,7 @@ "year": 2, "plant": 0, "stubble": 0, - "graze": 0, + "graze": null, "fertiliser": 200 }, { diff --git a/src/components.d.ts b/src/components.d.ts index 9024004..576a5df 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -38,6 +38,7 @@ declare module '@vue/runtime-core' { ParameterTable: typeof import('./components/ParameterTable.vue')['default'] PieChart: typeof import('./components/PieChart.vue')['default'] ResultsTable: typeof import('./components/ResultsTable.vue')['default'] + RotationSelect: typeof import('./components/RotationSelect.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] YearlyTable: typeof import('./components/YearlyTable.vue')['default'] diff --git a/src/components/Input.vue b/src/components/Input.vue index 6f41302..3b706a5 100644 --- a/src/components/Input.vue +++ b/src/components/Input.vue @@ -41,6 +41,7 @@ const grazes = [ {'id': 1, 'name': 'Heavy'}, ]; const stubbles = [ + {'id': 'null', 'name': 'None'}, {'id': 0, 'name': 'Burnt or Removed'}, {'id': 1, 'name': 'Retained'} ]; @@ -458,37 +459,39 @@ function isIterable(obj) {