From fa4d36b7a7513fd20b278cc1c3453ef7c02a3ea8 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 25 Mar 2021 18:56:07 -0500 Subject: [PATCH] Move ActionBar links into LinkFooter --- .../features/ui/components/link_footer.js | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/app/soapbox/features/ui/components/link_footer.js b/app/soapbox/features/ui/components/link_footer.js index 68034c076..dcdbf70a2 100644 --- a/app/soapbox/features/ui/components/link_footer.js +++ b/app/soapbox/features/ui/components/link_footer.js @@ -6,6 +6,7 @@ import { Link } from 'react-router-dom'; import { connect } from 'react-redux'; import { openModal } from '../../../actions/modal'; import { logOut } from 'soapbox/actions/auth'; +import { isStaff } from 'soapbox/utils/accounts'; // FIXME: Let this be configured const sourceCode = { @@ -35,10 +36,19 @@ const mapDispatchToProps = (dispatch) => ({ const LinkFooter = ({ onOpenHotkeys, account, onClickLogOut }) => (