Skip to content

fix: use applicationName config in nav bar and login page#4482

Open
mattklaver-hs wants to merge 1 commit intotarget:masterfrom
mattklaver-hs:fix/application-name-in-navbar
Open

fix: use applicationName config in nav bar and login page#4482
mattklaver-hs wants to merge 1 commit intotarget:masterfrom
mattklaver-hs:fix/application-name-in-navbar

Conversation

@mattklaver-hs
Copy link
Copy Markdown

  • Identified the issue which this PR solves.
  • Read the CONTRIBUTING document.
  • Code builds clean without any errors or warnings.
  • Added appropriate tests for any new functionality.
  • All new and existing tests passed.
  • Added comments in the code, where necessary.
  • Ran make check to catch common errors. Fixed any that came up.

Description:
The application name was hardcoded as "GoAlert" in NavBar.tsx and Login.tsx. These components now read from the applicationName value already exported by env.ts, which is populated from the server-side General.ApplicationName config. The browser tab title already used this value correctly; this makes the top-left display consistent.

Which issue(s) this PR fixes:
Fixes #4481

Describe any introduced user-facing changes:
Results in expected behavior when modifying the Application Name config value.

The application name was hardcoded as "GoAlert" in NavBar.tsx and
Login.tsx. These components now read from the applicationName value
already exported by env.ts, which is populated from the server-side
General.ApplicationName config. The browser tab title already used
this value correctly; this makes the top-left display consistent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use application name config value consistently

1 participant