Dashboard - Hide Short URL Option (#89338) (#89458)

* fix typo from sub-feature privileges
This commit is contained in:
Devon Thomson 2021-01-27 15:00:45 -05:00 committed by GitHub
parent 55bfa4f648
commit af17007b56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(),