diff options
author | ThibG <thib@sitedethib.com> | 2020-01-25 20:31:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-25 20:31:22 +0100 |
commit | 3591621edc4cc3658199527b0847e997ad1ce0a4 (patch) | |
tree | f1f6fcf0ecf1092db7f74bc787a6024ae5967e0d /app/javascript/flavours/glitch/components | |
parent | 5bd752081fd72c9899780eaa4b8ce2bd277b1ff0 (diff) | |
parent | 5e4d1f699e9f2ea6954a6d2647412f98ed2ca203 (diff) |
Merge pull request #1268 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/javascript/flavours/glitch/components')
-rw-r--r-- | app/javascript/flavours/glitch/components/column_header.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/components/column_header.js b/app/javascript/flavours/glitch/components/column_header.js index dd1162429..be45c9535 100644 --- a/app/javascript/flavours/glitch/components/column_header.js +++ b/app/javascript/flavours/glitch/components/column_header.js @@ -42,6 +42,7 @@ class ColumnHeader extends React.PureComponent { onMove: PropTypes.func, onClick: PropTypes.func, intl: PropTypes.object.isRequired, + appendContent: PropTypes.node, }; state = { @@ -106,7 +107,7 @@ class ColumnHeader extends React.PureComponent { } render () { - const { intl, icon, active, children, pinned, multiColumn, extraButton, showBackButton, intl: { formatMessage }, notifCleaning, notifCleaningActive, placeholder } = this.props; + const { intl, icon, active, children, pinned, multiColumn, extraButton, showBackButton, intl: { formatMessage }, notifCleaning, notifCleaningActive, placeholder, appendContent } = this.props; const { collapsed, animating, animatingNCD } = this.state; let title = this.props.title; @@ -229,6 +230,8 @@ class ColumnHeader extends React.PureComponent { {(!collapsed || animating) && collapsedContent} </div> </div> + + {appendContent} </div> ); |