浏览代码

Merge pull request #16096 from grafana/fix/15691-refresh-issue-playlists

Fixing issue with refresh playlists
Torkel Ödegaard 6 年之前
父节点
当前提交
ab5848ca14
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      public/app/features/playlist/playlist_srv.ts

+ 3 - 1
public/app/features/playlist/playlist_srv.ts

@@ -41,7 +41,9 @@ export class PlaylistSrv {
 
     const dash = this.dashboards[this.index];
     const queryParams = this.$location.search();
-    const filteredParams = _.pickBy(queryParams, value => value !== null);
+    const filteredParams = _.pickBy(queryParams, key => {
+      return key === 'kiosk' || key === 'autofitpanels' || key === 'orgId';
+    });
     const nextDashboardUrl = locationUtil.stripBaseFromUrl(dash.url);
 
     // this is done inside timeout to make sure digest happens after