Skip to content

Commit

Permalink
Dashboard - Hide Short URL Option (#89338) (#89458)
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 55bfa4f commit af17007
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 af17007

Please sign in to comment.