From 1c26b7717c90e9f9253e87b293067e49f83aaca7 Mon Sep 17 00:00:00 2001 From: Thaum Rystra Date: Thu, 28 May 2020 12:29:41 +0200 Subject: [PATCH] Fixed saving throw fields that weren't working, added name to saving throws --- app/imports/api/properties/SavingThrows.js | 4 ++++ app/imports/ui/properties/forms/SavingThrowForm.vue | 12 +++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/app/imports/api/properties/SavingThrows.js b/app/imports/api/properties/SavingThrows.js index 4c704ce9..78a9520b 100644 --- a/app/imports/api/properties/SavingThrows.js +++ b/app/imports/api/properties/SavingThrows.js @@ -3,6 +3,10 @@ import SimpleSchema from 'simpl-schema'; // These are the rolls made when saves are called for // For the saving throw bonus or proficiency, see ./Skills.js let SavingThrowSchema = new SimpleSchema ({ + name: { + type: String, + optional: true, + }, dc: { type: String, optional: true, diff --git a/app/imports/ui/properties/forms/SavingThrowForm.vue b/app/imports/ui/properties/forms/SavingThrowForm.vue index ff9871ae..ce2a26d2 100644 --- a/app/imports/ui/properties/forms/SavingThrowForm.vue +++ b/app/imports/ui/properties/forms/SavingThrowForm.vue @@ -1,5 +1,11 @@