Skip to content

Commit

Permalink
Fix missing footer, so auto-refresh and fullscreen are unavailable (m…
Browse files Browse the repository at this point in the history
…etabase#12806)

* Fix missing footer, when there's a token

* Flow simplified
  • Loading branch information
flamber authored Aug 17, 2020
1 parent 789fd4c commit 833d42a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frontend/src/metabase/public/components/EmbedFrame.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ export default class EmbedFrame extends Component {
} = this.props;
const { innerScroll } = this.state;

const showFooter =
!MetabaseSettings.hideEmbedBranding() ||
(actionButtons && actionButtons.length > 0);
const showFooter = !MetabaseSettings.hideEmbedBranding() || actionButtons;

const { bordered, titled, theme, hide_parameters } = {
...DEFAULT_OPTIONS,
Expand Down

0 comments on commit 833d42a

Please sign in to comment.