Procházet zdrojové kódy

Merge branch 'master' of github.com:grafana/grafana

Torkel Ödegaard před 6 roky
rodič
revize
665f7acade
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  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