Skip to content

Commit

Permalink
Merge pull request #15 from appventure-nush/beta
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
squi-ddy authored May 26, 2024
2 parents 3c96881 + 347f120 commit 805cb7e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/package-lock.json

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

2 changes: 1 addition & 1 deletion frontend/src/components/viewer/RoleViewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export default class RoleViewer extends Vue {
defaultPerm: this.editedRole.defaultPerm,
permissions: this.editedRole.permissions
}).then(() => {
if (this.emailsWithRoles) post(`/api/roles/${this.editedRole.rid}/users`, {
if (this.emailsWithRoles.length) post(`/api/roles/${this.editedRole.rid}/users`, {
action: this.usersPopup.action,
emails: this.emailsWithRoles
})
Expand Down
6 changes: 6 additions & 0 deletions package-lock.json

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

0 comments on commit 805cb7e

Please sign in to comment.