Ghost/ghost/admin/controllers/settings/users/index.js

10 lines
287 B
JavaScript
Raw Normal View History

var UsersIndexController = Ember.ArrayController.extend({
users: Ember.computed.alias('model'),
activeUsers: Ember.computed.filterBy('users', 'status', 'active'),
invitedUsers: Ember.computed.filterBy('users', 'status', 'invited')
});
export default UsersIndexController;