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)
This commit is contained in:
@@ -39,7 +39,7 @@ const ComputedOnlyContainerSchema = createPropertySchema({
|
|||||||
type: 'computedOnlyInlineCalculationField',
|
type: 'computedOnlyInlineCalculationField',
|
||||||
optional: true,
|
optional: true,
|
||||||
},
|
},
|
||||||
// Weight of all the contents, zero if `contentsWeightless` is true
|
// Weight of all the contents.
|
||||||
contentsWeight: {
|
contentsWeight: {
|
||||||
type: Number,
|
type: Number,
|
||||||
optional: true,
|
optional: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user