Skip to content

Commit 9bcd5de

Browse files
committed
fix(share): fixed PNG render link generated from share modal when opened from edit mode, fixes grafana#5295
1 parent 9f9fca1 commit 9bcd5de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/app/features/dashboard/shareModalCtrl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function (angular, _, require, config) {
7575

7676
var soloUrl = $scope.shareUrl;
7777
soloUrl = soloUrl.replace(config.appSubUrl + '/dashboard/', config.appSubUrl + '/dashboard-solo/');
78-
soloUrl = soloUrl.replace("&fullscreen", "");
78+
soloUrl = soloUrl.replace("&fullscreen", "").replace("&edit", "");
7979

8080
$scope.iframeHtml = '<iframe src="' + soloUrl + '" width="450" height="200" frameborder="0"></iframe>';
8181

0 commit comments

Comments
 (0)