This repository has been archived on 2025-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
hymenobacterdotinfo/app/pods/protected/species/index/species-table/component.js
2015-11-10 11:13:22 -07:00

12 lines
310 B
JavaScript

import Ember from 'ember';
import SetupMetaData from '../../../../../mixins/setup-metadata';
const { Component, computed: { sort } } = Ember;
export default Component.extend(SetupMetaData, {
species: null,
sortParams: ['speciesName', 'strainCount'],
sortedSpecies: sort('species', 'sortParams'),
});