diff --git a/app/javascript/mastodon/components/column_header.js b/app/javascript/mastodon/components/column_header.js
index e6349a3997..7a9dba7238 100644
--- a/app/javascript/mastodon/components/column_header.js
+++ b/app/javascript/mastodon/components/column_header.js
@@ -14,6 +14,7 @@ class ColumnHeader extends React.PureComponent {
icon: PropTypes.string.isRequired,
active: PropTypes.bool,
multiColumn: PropTypes.bool,
+ showBackButton: PropTypes.bool,
children: PropTypes.node,
pinned: PropTypes.bool,
onPin: PropTypes.func,
@@ -53,7 +54,7 @@ class ColumnHeader extends React.PureComponent {
}
render () {
- const { title, icon, active, children, pinned, onPin, multiColumn } = this.props;
+ const { title, icon, active, children, pinned, onPin, multiColumn, showBackButton } = this.props;
const { collapsed, animating } = this.state;
const buttonClassName = classNames('column-header', {
@@ -90,7 +91,9 @@ class ColumnHeader extends React.PureComponent {
);
} else if (multiColumn) {
pinButton = ;
+ }
+ if (!pinned && (multiColumn || showBackButton)) {
backButton = (