Skip to content

Commit

Permalink
show browse data button when iframed (#24632) (#24642)
Browse files Browse the repository at this point in the history
Co-authored-by: Aleksandr Lesnenko <alxnddr@users.noreply.github.com>
  • Loading branch information
metabase-bot[bot] and alxnddr committed Aug 5, 2022
1 parent b9f6629 commit 403e7c1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
getCollectionIcon,
PERSONAL_COLLECTIONS,
} from "metabase/entities/collections";
import { IFRAMED, isSmallScreen } from "metabase/lib/dom";
import { isSmallScreen } from "metabase/lib/dom";
import * as Urls from "metabase/lib/urls";

import { SelectedItem } from "./types";
Expand Down Expand Up @@ -128,7 +128,7 @@ function MainNavbarView({
/>
</SidebarSection>
<ul>
{hasDataAccess && !IFRAMED && (
{hasDataAccess && (
<SidebarSection>
<SidebarHeadingWrapper>
<SidebarHeading>{t`Data`}</SidebarHeading>
Expand Down

0 comments on commit 403e7c1

Please sign in to comment.