getOverviews () {
    store.commit('SET_OVERVIEWS_ERROR', '');

    const query = {};
    if (store.state.seeAllOverviews) { query.all = true; }

    return new Promise((resolve, reject) => {
      fetch(`api/overview/${paramStr(query)}`).then((response) => {
        if (!response.ok) { // test for bad response code
          throw new Error(response.statusText);
        }
        return response.json();
      }).then((response) => {
        store.commit('SET_OVERVIEWS', response.overviews);
        return resolve(response.overviews);
      }).catch((err) => { // this catches an issue within the ^ .then
        store.commit('SET_OVERVIEWS_ERROR', err);
        return reject(err);
      });
    });
  }
Fetches the list of overviews that a user can view.
@returns {Promise} - The promise that either resolves the request or rejects in error