1
Fork 0
mirror of https://github.com/thegeneralist01/archivr synced 2026-12-04 18:56:44 +01:00

fix(frontend): route /settings/sessions to the Sessions tab

The tab was missing from the settings route whitelist, so its URL and a
page reload fell back to Profile. Found while checking the new screens in a
browser.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
TheGeneralist 2026-10-10 10:40:05 +02:00
parent 6be3fe33bc
commit 0db95f06d8
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4

View file

@ -22,7 +22,7 @@ import { parseCaptureLink, resolveCaptureLink, makeCaptureLinkRequest } from './
export const AuthContext = createContext(null);
const VIEWS = ['archive','tags','collections','runs','admin','settings']
const SETTINGS_TABS = ['profile','tokens','instance','cookies','extensions','storage']
const SETTINGS_TABS = ['profile','tokens','sessions','instance','cookies','extensions','storage']
// Detect /preview/:archiveId/:entryUid at load time (static — no navigation)
const PREVIEW_ROUTE = (() => {