{"size": 360, "ext": "js", "max_stars_repo_path": "frontend/app/components/series-navigation/component.js", "max_stars_repo_name": "Egor-Shnel/brn", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "frontend/app/components/series-navigation/component.js", "max_issues_repo_name": "Egor-Shnel/brn", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "frontend/app/components/series-navigation/component.js", "max_forks_repo_name": "Egor-Shnel/brn", "max_forks_repo_forks_event_min_datetime": "2020-04-01T16:33:09.000Z", "max_forks_repo_forks_event_max_datetime": "2020-04-01T16:33:09.000Z"}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 24.0, "max_line_length": 59, "alphanum_fraction": 0.6888888889}
import Component from '@ember/component';
import { computed } from '@ember/object';

export default Component.extend({
  tagName: '',

  sortedExercises: computed('exercises', function() {
    return this.exercises.sortBy('id');
  }),

  exerciseHeaders: computed('sortedExercises', function() {
    return this.sortedExercises.mapBy('name').uniq();
  }),
});
