Explorar o código

fix(share): fixed PNG render link generated from share modal when opened from edit mode, fixes #5295

Torkel Ödegaard %!s(int64=9) %!d(string=hai) anos
pai
achega
9bcd5de8ff
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      public/app/features/dashboard/shareModalCtrl.js

+ 1 - 1
public/app/features/dashboard/shareModalCtrl.js

@@ -75,7 +75,7 @@ function (angular, _, require, config) {
 
       var soloUrl = $scope.shareUrl;
       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>';