Skip to content

Comments

Bugfix: send navigation updates only when in a team#53

Merged
jankapunkt merged 1 commit intomainfrom
Bugfix-send-no-navigation-updates-if-no-team
Jun 28, 2024
Merged

Bugfix: send navigation updates only when in a team#53
jankapunkt merged 1 commit intomainfrom
Bugfix-send-no-navigation-updates-if-no-team

Conversation

@alessandrobelli
Copy link
Contributor

The check if the user was in a team or not was bugged, now we're sending navigation updates only when a user is in a team.
To verify it, check https://stagingqda.uni-bremen.de/ in a non-shared project, you should not see the "navigation" endpoint being called every 5 seconds.

Check also offline, in another branch, you should see the call happening, along with some weird errors.

- Add check for non-empty sharedTeam object in onMounted
- this means that we send the updates to the presence only if the user is in a team inside a project
@alessandrobelli alessandrobelli added the bug Something isn't working label Jun 27, 2024
@alessandrobelli alessandrobelli added this to the Release 1.0 milestone Jun 27, 2024
@alessandrobelli alessandrobelli self-assigned this Jun 27, 2024
@jankapunkt jankapunkt merged commit 733fcd4 into main Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants