Skip to content

Commit

Permalink
i love this
Browse files Browse the repository at this point in the history
  • Loading branch information
squi-ddy committed May 26, 2024
1 parent 805cb7e commit 2e1dde4
Show file tree
Hide file tree
Showing 3 changed files with 187 additions and 10 deletions.
180 changes: 180 additions & 0 deletions backend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 7 additions & 4 deletions frontend/src/components/viewer/RoleViewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,13 @@ export default class RoleViewer extends Vue {
action: this.usersPopup.action,
emails: this.emailsWithRoles
})
}).then(() => EventBus.$emit('needRoleUpdate', () => {
this.$router.push({name: 'Role', params: {rid: this.editedRole.rid}});
this.saving = false;
})).catch(err => {
}).then(() => {
const self = this;
EventBus.$emit('needRoleUpdate', () => {
self.$router.push({name: 'Role', params: {rid: self.editedRole.rid}});
self.saving = false;
})
}).catch(err => {
this.saving = false;
alert(err);
}); else {
Expand Down
6 changes: 0 additions & 6 deletions package-lock.json

This file was deleted.

0 comments on commit 2e1dde4

Please # to comment.