From 06bda6e9e6890c6e3e6f6899265bac297c750798 Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Sun, 28 Jul 2019 15:01:56 -0400 Subject: [PATCH] Fixed issue with logout, dropdown menu on mobile removed _blank, open in same tab added data-method=delete if isLogout --- .../gabsocial/features/ui/components/actions_modal.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/app/javascript/gabsocial/features/ui/components/actions_modal.js b/app/javascript/gabsocial/features/ui/components/actions_modal.js index 1cb360f8..96b93a48 100644 --- a/app/javascript/gabsocial/features/ui/components/actions_modal.js +++ b/app/javascript/gabsocial/features/ui/components/actions_modal.js @@ -22,11 +22,18 @@ export default class ActionsModal extends ImmutablePureComponent { return
; } - const { icon = null, text, meta = null, active = false, href = '#' } = action; + const { icon = null, text, meta = null, active = false, href = '#', isLogout } = action; return (