Skip to content

ui: unable to navigate between tabs on alerts page when using URL prefix #1925

@dctalbot

Description

@dctalbot

Describe the Bug:
When using a public URL path prefix, users are unable to toggle between the alert panes.

Steps to Reproduce:

  1. make start GOALERT_HTTP_PREFIX=/someprefix
  2. Go to http://localhost:3030/someprefix/admin/config
  3. Set general public URL as http://example.com/someprefix
  4. Go to http://localhost:3030/someprefix/alerts
  5. Click on "Closed tab"
  6. Observe no change in UI
  7. Observe console warning from react-router-dom

Expected Behavior:
Navigate to tab filter

Observed Behavior:
No navigation

Screenshots/Stack Traces:

Screen Shot 2021-09-28 at 12 57 19 PM

Application Version:
63093ad7d9b210082d79fadc3d12c1575c68fb3a

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomersjavascriptPull requests that update Javascript code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions