async showBoardFromCache()

in src/app/agile-board-widget.js [138:148]


  async showBoardFromCache(agileId) {
    const {dashboardApi} = this.props;
    const cache = (await dashboardApi.readCache() || {}).result;
    if (cache && (cache.agile || {}).id === agileId) {
      this.setState({
        agile: cache.agile,
        sprint: cache.sprint,
        fromCache: true
      });
    }
  }