From 90abdc2b9a6c4598d221684617d7fa05c300c82f Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Fri, 20 Mar 2026 14:00:29 +0200 Subject: [PATCH] fix mute dropdown closing itself --- changelog.d/mute-dropdown.fix | 1 + .../status_action_buttons/buttons_definitions.js | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 changelog.d/mute-dropdown.fix diff --git a/changelog.d/mute-dropdown.fix b/changelog.d/mute-dropdown.fix new file mode 100644 index 000000000..33f12a571 --- /dev/null +++ b/changelog.d/mute-dropdown.fix @@ -0,0 +1 @@ +Fixed status action mute hiding itself on click diff --git a/src/components/status_action_buttons/buttons_definitions.js b/src/components/status_action_buttons/buttons_definitions.js index 20db7aa45..bf03a9ab9 100644 --- a/src/components/status_action_buttons/buttons_definitions.js +++ b/src/components/status_action_buttons/buttons_definitions.js @@ -106,10 +106,11 @@ export const BUTTONS = [ icon: 'eye-slash', label: 'status.mute_ellipsis', if: ({ loggedIn }) => loggedIn, - toggleable: true, + toggleable: false, dropdown: true, - // action ({ status, dispatch, emit }) { - // } + action({ status, dispatch, emit }) { + /* prevent hiding */ + }, }, { // =========