From c9a1e2dbff70bf7033aaef6d5f468f43ee726aae Mon Sep 17 00:00:00 2001 From: Sam Wilkins Date: Wed, 15 Jan 2020 16:25:47 -0500 Subject: almost nothing --- src/client/views/CollectionMulticolumnView.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client/views/CollectionMulticolumnView.tsx') diff --git a/src/client/views/CollectionMulticolumnView.tsx b/src/client/views/CollectionMulticolumnView.tsx index 0aa615ffc..3231c0da1 100644 --- a/src/client/views/CollectionMulticolumnView.tsx +++ b/src/client/views/CollectionMulticolumnView.tsx @@ -47,14 +47,14 @@ export default class CollectionMulticolumnView extends CollectionSubView(Multico
{this.configuration.map(config => { - const { target } = config; + const { target, columnWidth } = config; if (target instanceof Doc) { let computedWidth: number = 0; - const widthSpecifier = Cast(config.columnWidth, "number"); + const widthSpecifier = Cast(columnWidth, "number"); let matches: RegExpExecArray | null; if (widthSpecifier !== undefined) { computedWidth = widthSpecifier; - } else if ((matches = /([\d.]+)\%/.exec(StrCast(config.columnWidth))) !== null) { + } else if ((matches = /([\d.]+)\%/.exec(StrCast(columnWidth))) !== null) { computedWidth = Number(matches[1]) / 100 * PanelWidth(); } return (!computedWidth ? (null) : -- cgit v1.2.3-70-g09d2