diff --git a/app/javascript/gabsocial/components/popover/group_options_popover.js b/app/javascript/gabsocial/components/popover/group_options_popover.js index 579c13d7..94ca89b3 100644 --- a/app/javascript/gabsocial/components/popover/group_options_popover.js +++ b/app/javascript/gabsocial/components/popover/group_options_popover.js @@ -96,7 +96,8 @@ class GroupOptionsPopover extends ImmutablePureComponent { listItems.push({}) listItems.push({ title: intl.formatMessage(messages.open_in_admin, { name: group.getIn('title') }), - href: `/admin/groups/${groupId}` + href: `/admin/groups/${groupId}`, + openInNewTab: true, }) } diff --git a/app/javascript/gabsocial/components/popover/profile_options_popover.js b/app/javascript/gabsocial/components/popover/profile_options_popover.js index 552afc99..58905d56 100644 --- a/app/javascript/gabsocial/components/popover/profile_options_popover.js +++ b/app/javascript/gabsocial/components/popover/profile_options_popover.js @@ -113,7 +113,8 @@ class ProfileOptionsPopover extends React.PureComponent { hideArrow: true, icon: 'circle', title: intl.formatMessage(messages.admin_account), - href: `/admin/accounts/${account.get('id')}` + href: `/admin/accounts/${account.get('id')}`, + openInNewTab: true, }) } diff --git a/app/javascript/gabsocial/components/popover/status_options_popover.js b/app/javascript/gabsocial/components/popover/status_options_popover.js index 391b986a..3ffb7e23 100644 --- a/app/javascript/gabsocial/components/popover/status_options_popover.js +++ b/app/javascript/gabsocial/components/popover/status_options_popover.js @@ -285,11 +285,13 @@ class StatusOptionsPopover extends ImmutablePureComponent { menu.push({ title: intl.formatMessage(messages.admin_account, { name: status.getIn(['account', 'username']) }), - href: `/admin/accounts/${status.getIn(['account', 'id'])}` + href: `/admin/accounts/${status.getIn(['account', 'id'])}`, + openInNewTab: true, }) menu.push({ title: intl.formatMessage(messages.admin_status), - href: `/admin/accounts/${status.getIn(['account', 'id'])}/account_statuses/${status.get('id')}` + href: `/admin/accounts/${status.getIn(['account', 'id'])}/account_statuses/${status.get('id')}`, + openInNewTab: true, }) }