toConfig()

in src/app/activities-filter.js [55:70]


  toConfig() {
    const toConfigAuthor = author => author && {
      id: author.id,
      name: author.name,
      avatarURL: author.avatarURL
    };

    return {
      title: this.title,
      query: this.query,
      author: toConfigAuthor(this.author),
      categoriesIds: this.categoriesIds.slice(),
      youTrack: {id: this.youTrackId, homeUrl: this.youTrackUrl},
      refreshPeriod: this.refreshPeriod
    };
  }