From a4bd5b06e6beafce9a41ffb1c24f80a496b9e2f3 Mon Sep 17 00:00:00 2001 From: Ittihadyya Date: Thu, 9 Oct 2025 15:17:35 +0300 Subject: [PATCH] =?UTF-8?q?made=20fav=20&=20delete=20dialogs=20work=20on?= =?UTF-8?q?=20detailed=20posts=20=E2=80=93=20apparently=20i=20forgot=20to?= =?UTF-8?q?=20properly=20reference=20'settings',=20now=20i=20feel=20really?= =?UTF-8?q?=20stupid=20:3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/javascript/flavours/glitch/features/status/index.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/flavours/glitch/features/status/index.jsx b/app/javascript/flavours/glitch/features/status/index.jsx index 90f38fd83e0aef475955a822775988a06ea76860..474bc755a7fd012715ce48afd1c8c2a9f68e17df 100644 --- a/app/javascript/flavours/glitch/features/status/index.jsx +++ b/app/javascript/flavours/glitch/features/status/index.jsx @@ -270,7 +270,7 @@ class Status extends ImmutablePureComponent { }; handleFavouriteClick = (status, e) => { - const { dispatch } = this.props; + const { settings, dispatch } = this.props; const { signedIn } = this.context.identity; if (signedIn) { @@ -382,7 +382,7 @@ class Status extends ImmutablePureComponent { }; handleDeleteClick = (status, history, withRedraft = false) => { - const { dispatch, intl } = this.props; + const { settings, dispatch, intl } = this.props; if (!settings.get('confirm_delete')) { dispatch(deleteStatus(status.get('id'), history, withRedraft));