Skip to content

Move guestInfo to hook and reload if posting role

Andreas Ellewsen requested to merge GREG-114-redirect-new-role into master
  • The hook returns the info for a single guest, and a function to reload that info from the api.
  • The roles of the guest are now on the roles attribute of the guest object instead of as its own object.
  • Adding a new role now triggers a reload of the data from the api after the post request has completed.

Resolves: GREG-114

Edited by Andreas Ellewsen

Merge request reports