function updateResults() {
  $.getJSON(
    window.location + 'filter',
    {
      measure: _store.measure,
      time: _store.time,
      dag: _store.dag,
    },
    function(data) {
      // convert dict to array
      const array = [];
      for (const key in data) {
        array.push(data[key]);
      }
      _store.results = array;
      _store.updating = false;
      FilterStore.emit(FILTER_CHANGE_EVENT);
    });
}
// Fires of an Ajax get request to the server to get dags/tasks for sidebar
Fires of an Ajax get request to the server to get dags/tasks for sidebar
Fires of an Ajax get request to the server to get dags / tasks for sidebar
function updateResults() {
  $.getJSON(
    window.location + 'filter',
    {
      measure: _store.measure,
      time: _store.time,
      dag: _store.dag,
    },
    function(data) {
      const array = [];
      for (const key in data) {
        array.push(data[key]);
      }
      _store.results = array;
      _store.updating = false;
      FilterStore.emit(FILTER_CHANGE_EVENT);
    });
}
function updateResults ( ) { $ . getJSON ( window . location + 'filter' , { measure : _store . measure , time : _store . time , dag : _store . dag , } , function ( data ) { const array = [ ] ; for ( const key in data ) { array . push ( data [ key ] ) ; } _store . results = array ; _store . updating = false ; FilterStore . emit ( FILTER_CHANGE_EVENT ) ; } ) ; }
Fires of an Ajax get request to the server to get dags/tasks for sidebar
Fires of an Ajax get request to the server to get dags / tasks for sidebar
// convert dict to array