Skip to content

Commit

Permalink
[desk-tool] Fix issue with tabs not displaying on narrow devices
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuslundgard authored and rexxars committed Oct 6, 2020
1 parent 6372321 commit efd0bed
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,8 @@ export function DocumentPanelHeader(props: DocumentPanelHeaderProps) {
evt.stopPropagation()
}, [])

const showTabs = features.splitViews && views.length > 1
// @todo: remove this
const showVersionMenu = true // isHistoryOpen
const showTabs = views.length > 1
const showVersionMenu = features.reviewChanges
const menuOpen = isTimelineOpen && timelineMode === 'rev'

return (
Expand Down

0 comments on commit efd0bed

Please sign in to comment.