From 1759427ca774cf6c344dcbb34c2cf35682e60249 Mon Sep 17 00:00:00 2001 From: Jonpot Date: Wed, 24 Jan 2024 12:29:02 -0800 Subject: [PATCH] Fixes incorrect comment in Containers.js I don't know which way this bug goes, but right now the comment on `contentsWeight` says it's 0 if contentsWeightless is checked. This isn't the case (however carriedWeight does follow this rule) --- app/imports/api/properties/Containers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/imports/api/properties/Containers.js b/app/imports/api/properties/Containers.js index 6936bd15..808edcda 100644 --- a/app/imports/api/properties/Containers.js +++ b/app/imports/api/properties/Containers.js @@ -39,7 +39,7 @@ const ComputedOnlyContainerSchema = createPropertySchema({ type: 'computedOnlyInlineCalculationField', optional: true, }, - // Weight of all the contents, zero if `contentsWeightless` is true + // Weight of all the contents. contentsWeight: { type: Number, optional: true,