mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 03:12:54 +03:00
d3491c53b9
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;
|