mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 19:52:01 +03:00
ab90c40e4e
closes #3309, refs #3229 - adds different message depending on status - doesn't delete the new user if the problem was an email error - filters the 2 lists based on all statuses
10 lines
315 B
JavaScript
10 lines
315 B
JavaScript
var UsersIndexController = Ember.ArrayController.extend({
|
|
users: Ember.computed.alias('model'),
|
|
|
|
activeUsers: Ember.computed.filterBy('users', 'active', true).property('users'),
|
|
|
|
invitedUsers: Ember.computed.filterBy('users', 'invited', true).property('users')
|
|
});
|
|
|
|
export default UsersIndexController;
|