Skip to content

Conversation

@spooky-bat
Copy link

Currently, the browser tab title often remains as "Traccar" or doesn't update when server attributes change.

This PR adds a check to dynamically update document.title using:

  1. server.title
  2. server.attributes.title
  3. server.attributes.name

This ensures the customized server name is properly reflected in the browser tab.

Currently, the browser tab title often remains as "Traccar" or doesn't update when server attributes change.

This PR adds a check to dynamically update `document.title` using:
1. `server.title`
2. `server.attributes.title`
3. `server.attributes.name`

This ensures the customized server name is properly reflected in the browser tab.
@tananaev
Copy link
Member

tananaev commented Jan 4, 2026

I don't think it makes sense to overcomplicate things. Branding does require a page refresh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants