frontend: ensure query parameters are spread correctly when removing moderator secret from URL
This commit is contained in:
parent
aa41ad779f
commit
110f66aca2
@ -28,7 +28,7 @@ export const removeModeratorSecretGuard: CanActivateFn = (route, _state) => {
|
||||
|
||||
// Store the moderator secret in session storage for the current room and remove it from the URL
|
||||
sessionStorageService.setModeratorSecret(roomId, moderatorSecret);
|
||||
navigationService.removeModeratorSecretFromUrl(route.queryParams);
|
||||
navigationService.removeModeratorSecretFromUrl({ ...route.queryParams });
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user