diff options
| author | bobzel <zzzman@gmail.com> | 2021-03-16 20:59:48 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-03-16 20:59:48 -0400 |
| commit | 04225e5248ac46c4f9fdc698ec1526b53fd02164 (patch) | |
| tree | 3927e041f99c6cb4ea90f16ba36c9a7a62b77fc8 /src/client/views/collections/CollectionMasonryViewFieldRow.tsx | |
| parent | 516b29492a9e14c7d3ace1f0c5db56b0d69e421e (diff) | |
more chromeStatus cleanup. Big stripdown of propertiesButtons.
Diffstat (limited to 'src/client/views/collections/CollectionMasonryViewFieldRow.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionMasonryViewFieldRow.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionMasonryViewFieldRow.tsx b/src/client/views/collections/CollectionMasonryViewFieldRow.tsx index 2013b3f43..46bfd841e 100644 --- a/src/client/views/collections/CollectionMasonryViewFieldRow.tsx +++ b/src/client/views/collections/CollectionMasonryViewFieldRow.tsx @@ -253,7 +253,7 @@ export class CollectionMasonryViewFieldRow extends React.Component<CMVFieldRowPr const rows = Math.max(1, Math.min(this.props.docList.length, Math.floor((this.props.parent.props.PanelWidth() - 2 * this.props.parent.xMargin) / (this.props.parent.columnWidth + this.props.parent.gridGap)))); const style = this.props.parent; const chromeStatus = this.props.parent.props.Document._chromeStatus; - const showChrome = (chromeStatus !== 'view-mode' && chromeStatus !== 'disabled'); + const showChrome = (chromeStatus !== 'view-mode' && chromeStatus); const stackPad = showChrome ? `0px ${this.props.parent.xMargin}px` : `${this.props.parent.yMargin}px ${this.props.parent.xMargin}px 0px ${this.props.parent.xMargin}px `; return this.collapsed ? (null) : <div style={{ position: "relative" }}> |
