diff --git a/frontend/src/metabase/components/CollectionLanding.jsx b/frontend/src/metabase/components/CollectionLanding.jsx index 6d6f87235b337c56cc179d111c5fe275a57f5712..4a0cf3aa149110d08b12f9e95c05fed0af6618b0 100644 --- a/frontend/src/metabase/components/CollectionLanding.jsx +++ b/frontend/src/metabase/components/CollectionLanding.jsx @@ -104,7 +104,7 @@ class DefaultLanding extends React.Component { <Box> <Box> {pinned.length > 0 ? ( - <Box mx={4} mt={2} mb={4}> + <Box mx={4} mt={2} mb={3}> <CollectionSectionHeading>{t`Pins`}</CollectionSectionHeading> <PinDropTarget pinIndex={pinned[pinned.length - 1].collection_position + 1} diff --git a/frontend/src/metabase/nav/components/ProfileLink.jsx b/frontend/src/metabase/nav/components/ProfileLink.jsx index 8979754f257bed8007f59447005325463677a9c4..f10e6711cbb7862417c470182cb93c6e7cbc1d07 100644 --- a/frontend/src/metabase/nav/components/ProfileLink.jsx +++ b/frontend/src/metabase/nav/components/ProfileLink.jsx @@ -68,16 +68,16 @@ export default class ProfileLink extends Component { icon: null, link: Urls.accountSettings(), }, - ...(!isRoot && { + { title: admin ? t`Exit admin` : t`Admin`, icon: null, link: admin ? "/" : "/admin", - }), - ...(!isRoot && { + }, + { title: t`Logs`, icon: null, action: () => this.openModal("logs"), - }), + }, { title: t`About metabase`, icon: null,