Skip to content

Commit

Permalink
show browse data button when iframed (#24632)
Browse files Browse the repository at this point in the history
  • Loading branch information
alxnddr committed Aug 5, 2022
1 parent 978cc09 commit a53cec8
Showing 1 changed file with 2 additions and 2 deletions.
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 a53cec8

Please sign in to comment.