Skip to content

Commit

Permalink
Dashboard - Hide Short URL Option (#89338)
Browse files Browse the repository at this point in the history
* fix typo from sub-feature privileges
  • Loading branch information
ThomThomson authored Jan 27, 2021
1 parent 42a9490 commit 96e4bdc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export function ShowShareModal({
share.toggleShareContextMenu({
anchorElement,
allowEmbed: true,
allowShortUrl: !dashboardCapabilities.hideWriteControls || dashboardCapabilities.createShortUrl,
allowShortUrl: dashboardCapabilities.createShortUrl,
shareableUrl: setStateToKbnUrl(
'_a',
dashboardStateManager.getAppState(),
Expand Down

0 comments on commit 96e4bdc

Please sign in to comment.