diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-05-21 17:49:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-21 17:49:10 +0200 |
commit | 5ea643b27908b14bd89ff068fc87e446e8cbcd32 (patch) | |
tree | a5a7adf9fee09a56de441c40fce9ae52f92d1877 /app/javascript/mastodon/features/ui/components/columns_area.js | |
parent | 40ef46dbeff676827d1ba3483f9f6f72b17bca89 (diff) |
Save onlyMedia prop when pinning column (#7575)
Diffstat (limited to 'app/javascript/mastodon/features/ui/components/columns_area.js')
-rw-r--r-- | app/javascript/mastodon/features/ui/components/columns_area.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/ui/components/columns_area.js b/app/javascript/mastodon/features/ui/components/columns_area.js index 0a62cbbeb..3ab867b5a 100644 --- a/app/javascript/mastodon/features/ui/components/columns_area.js +++ b/app/javascript/mastodon/features/ui/components/columns_area.js @@ -175,10 +175,11 @@ export default class ColumnsArea extends ImmutablePureComponent { <div className={`columns-area ${ isModalOpen ? 'unscrollable' : '' }`} ref={this.setRef}> {columns.map(column => { const params = column.get('params', null) === null ? null : column.get('params').toJS(); + const other = params && params.other ? params.other : {}; return ( <BundleContainer key={column.get('uuid')} fetchComponent={componentMap[column.get('id')]} loading={this.renderLoading(column.get('id'))} error={this.renderError}> - {SpecificComponent => <SpecificComponent columnId={column.get('uuid')} params={params} multiColumn />} + {SpecificComponent => <SpecificComponent columnId={column.get('uuid')} params={params} multiColumn {...other} />} </BundleContainer> ); })} |