From 32de70cd452cb2d7670f0ebefda1a0e210bd9332 Mon Sep 17 00:00:00 2001 From: Stefan Zermatten Date: Sat, 17 Oct 2020 19:33:56 +0200 Subject: [PATCH] Class levels now have a description field --- app/imports/api/properties/ClassLevels.js | 4 ++++ app/imports/ui/properties/forms/ClassLevelForm.vue | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/app/imports/api/properties/ClassLevels.js b/app/imports/api/properties/ClassLevels.js index ed1c41e7..b49b4b4c 100644 --- a/app/imports/api/properties/ClassLevels.js +++ b/app/imports/api/properties/ClassLevels.js @@ -6,6 +6,10 @@ let ClassLevelSchema = new SimpleSchema({ type: String, optional: true, }, + description: { + type: String, + optional: true, + }, // The name of this class level's variable variableName: { type: String, diff --git a/app/imports/ui/properties/forms/ClassLevelForm.vue b/app/imports/ui/properties/forms/ClassLevelForm.vue index 5164281d..afc91a99 100644 --- a/app/imports/ui/properties/forms/ClassLevelForm.vue +++ b/app/imports/ui/properties/forms/ClassLevelForm.vue @@ -27,6 +27,13 @@ @change="change('variableName', ...arguments)" /> +