// import AJAX from 'utils/ajax';

export function getDashboards() {
  // return AJAX({
    // method: 'GET',
    // url: `/chronograf/v1/dashboards`,
  // });
  return {
    then(cb) {
      cb([
        {name: "Goldeneye System Status"},
        {name: "Carver Media Group Broadcast System Status"},
        {name: "Icarus Space Program Status"},
      ]);
    },
  };
}

import AJAX from 'utils/ajax';

export function getDashboards() {
  return AJAX({
    method: 'GET',
    url: `/chronograf/v1/dashboards`,
  });
}

Make dashboard list fetch from API
Make dashboard list fetch from API

This removes some mocked-out data to make the Dashboard list actually
hit the API.
