Commit 1c73ea17 by Divyam Bhasin Committed by GitHub

Dashboard: Top Share URL icon should share panel URL when on viewPanel page (#30000)

parent 1a37ba24
......@@ -159,7 +159,7 @@ class DashNav extends PureComponent<Props> {
<ModalsController key="button-share">
{({ showModal, hideModal }) => (
<DashNavButton
tooltip="Share dashboard"
tooltip="Share dashboard or panel"
icon="share-alt"
iconSize="lg"
onClick={() => {
......
......@@ -22,8 +22,6 @@ export function buildParams(useCurrentTimeRange: boolean, selectedTheme?: string
if (panel && !params.editPanel) {
params.viewPanel = panel.id;
} else {
delete params.viewPanel;
}
return params;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment