mirror of
https://github.com/documize/community.git
synced 2025-07-20 21:59:42 +02:00
renamed load() to loadGroups()
This commit is contained in:
parent
e4d78904dc
commit
7e6d6366da
1 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ export default Component.extend(AuthProvider, ModalMixin, {
|
||||||
}
|
}
|
||||||
|
|
||||||
this.get('groupSvc').add(newGroup).then(() => {
|
this.get('groupSvc').add(newGroup).then(() => {
|
||||||
this.load();
|
this.loadGroups();
|
||||||
});
|
});
|
||||||
|
|
||||||
this.modalClose("#add-group-modal");
|
this.modalClose("#add-group-modal");
|
||||||
|
@ -105,7 +105,7 @@ export default Component.extend(AuthProvider, ModalMixin, {
|
||||||
}
|
}
|
||||||
|
|
||||||
this.get('groupSvc').delete(deleteGroup.id).then(() => {
|
this.get('groupSvc').delete(deleteGroup.id).then(() => {
|
||||||
this.load();
|
this.loadGroups();
|
||||||
});
|
});
|
||||||
|
|
||||||
this.modalClose("#delete-group-modal");
|
this.modalClose("#delete-group-modal");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue