From 8f81614294490de2d9090f9a99af6fce6fe48c38 Mon Sep 17 00:00:00 2001 From: Stefan Zermatten Date: Sun, 31 May 2020 15:59:37 +0200 Subject: [PATCH] Weight and value are no longer required on containers --- app/imports/api/properties/Containers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/imports/api/properties/Containers.js b/app/imports/api/properties/Containers.js index d02cc841..45f1ecef 100644 --- a/app/imports/api/properties/Containers.js +++ b/app/imports/api/properties/Containers.js @@ -18,12 +18,12 @@ let ContainerSchema = new SimpleSchema({ weight: { type: Number, min: 0, - defaultValue: 0 + optional: true, }, value: { type: Number, min: 0, - defaultValue: 0 + optional: true, }, description: { type: String,