diff --git a/app/javascript/flavours/glitch/features/compose/components/navigation_bar.jsx b/app/javascript/flavours/glitch/features/compose/components/navigation_bar.jsx
index ef9d01bd20..0b9895d8c5 100644
--- a/app/javascript/flavours/glitch/features/compose/components/navigation_bar.jsx
+++ b/app/javascript/flavours/glitch/features/compose/components/navigation_bar.jsx
@@ -22,6 +22,7 @@ export const NavigationBar = () => {
const intl = useIntl();
const account = useSelector(state => state.getIn(['accounts', me]));
const isReplying = useSelector(state => !!state.getIn(['compose', 'in_reply_to']));
+ const isQuoting = useSelector(state => !!state.getIn(['compose', 'quote_id']));
const handleCancelClick = useCallback(() => {
dispatch(cancelReplyCompose());
@@ -30,7 +31,7 @@ export const NavigationBar = () => {
return (
- {isReplying ?
:
}
+ {(isReplying || isQuoting) ?
:
}
);
};
diff --git a/app/javascript/mastodon/features/compose/components/navigation_bar.jsx b/app/javascript/mastodon/features/compose/components/navigation_bar.jsx
index ec5578eef3..d15d3ec8e5 100644
--- a/app/javascript/mastodon/features/compose/components/navigation_bar.jsx
+++ b/app/javascript/mastodon/features/compose/components/navigation_bar.jsx
@@ -22,6 +22,7 @@ export const NavigationBar = () => {
const intl = useIntl();
const account = useSelector(state => state.getIn(['accounts', me]));
const isReplying = useSelector(state => !!state.getIn(['compose', 'in_reply_to']));
+ const isQuoting = useSelector(state => !!state.getIn(['compose', 'quote_id']));
const handleCancelClick = useCallback(() => {
dispatch(cancelReplyCompose());
@@ -30,7 +31,7 @@ export const NavigationBar = () => {
return (
- {isReplying ?
:
}
+ {(isReplying || isQuoting) ?
:
}
);
};