mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(share): fixed PNG render link generated from share modal when opened from edit mode, fixes #5295
This commit is contained in:
@@ -75,7 +75,7 @@ function (angular, _, require, config) {
|
|||||||
|
|
||||||
var soloUrl = $scope.shareUrl;
|
var soloUrl = $scope.shareUrl;
|
||||||
soloUrl = soloUrl.replace(config.appSubUrl + '/dashboard/', config.appSubUrl + '/dashboard-solo/');
|
soloUrl = soloUrl.replace(config.appSubUrl + '/dashboard/', config.appSubUrl + '/dashboard-solo/');
|
||||||
soloUrl = soloUrl.replace("&fullscreen", "");
|
soloUrl = soloUrl.replace("&fullscreen", "").replace("&edit", "");
|
||||||
|
|
||||||
$scope.iframeHtml = '<iframe src="' + soloUrl + '" width="450" height="200" frameborder="0"></iframe>';
|
$scope.iframeHtml = '<iframe src="' + soloUrl + '" width="450" height="200" frameborder="0"></iframe>';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user