mirror of
https://github.com/documize/community.git
synced 2025-07-24 07:39:43 +02:00
bug fixes
This commit is contained in:
parent
658f0105d1
commit
ef9097b4f4
7 changed files with 15 additions and 5 deletions
|
@ -37,7 +37,7 @@ export default Ember.Controller.extend(NotifierMixin, {
|
|||
this.get('userService').remove(user.get('id')).then(function () {
|
||||
self.showNotification('Deleted');
|
||||
|
||||
self.get('userService').getAll().then(function (users) {
|
||||
self.get('userService').getComplete().then(function (users) {
|
||||
self.set('model', users);
|
||||
});
|
||||
});
|
||||
|
@ -48,7 +48,7 @@ export default Ember.Controller.extend(NotifierMixin, {
|
|||
this.get('userService').save(user).then(function () {
|
||||
self.showNotification('Saved');
|
||||
|
||||
self.get('userService').getAll().then(function (users) {
|
||||
self.get('userService').getComplete().then(function (users) {
|
||||
self.set('model', users);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue