Skip to content

Commit

Permalink
Hide Canvas toolbar close button when tray is closed (#73845)
Browse files Browse the repository at this point in the history
Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
poffdeluxe and elasticmachine authored Jul 31, 2020
1 parent df3e209 commit ff3877d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/canvas/public/components/toolbar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ export const Toolbar = compose(
props.router.navigateTo('loadWorkpad', { id: props.workpadId, page: pageNumber });
},
}),
withState('tray', 'setTray', (props) => props.tray),
withState('tray', 'setTray', null),
withState('showWorkpadManager', 'setShowWorkpadManager', false)
)(Component);

0 comments on commit ff3877d

Please sign in to comment.