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

Fixing issue with refresh playlists
pull/16105/head
Torkel Ödegaard 7 years ago committed by GitHub
commit ab5848ca14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      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

Loading…
Cancel
Save