diff --git a/frontend/src/app/recollections/layout/RecollectionActionsContext.tsx b/frontend/src/app/recollections/layout/RecollectionActionsContext.tsx
index aeda717..41f829d 100644
--- a/frontend/src/app/recollections/layout/RecollectionActionsContext.tsx
+++ b/frontend/src/app/recollections/layout/RecollectionActionsContext.tsx
@@ -120,7 +120,7 @@ export function RecollectionActionsProvider({ children }: { children: React.Reac
pathnameRef.current = pathname
const isFluxActive = pathname.endsWith('/flux')
- const isLogosActive = pathname.endsWith('/logos') || /\/recollections\/[^/]+\/?$/.test(pathname)
+ const isLogosActive = pathname.includes('/logos') || /\/recollections\/[^/]+\/?$/.test(pathname)
const activeSlot = isFluxActive ? flux : isLogosActive ? logos : null
const setFluxSlot = useCallback((slot: FluxSlot | null) => {
@@ -179,7 +179,7 @@ export function RecollectionActionsProvider({ children }: { children: React.Reac
)
const currentPath = pathnameRef.current
const fluxActive = currentPath.endsWith('/flux')
- const logosActive = currentPath.endsWith('/logos') || /\/recollections\/[^/]+\/?$/.test(currentPath)
+ const logosActive = currentPath.includes('/logos') || /\/recollections\/[^/]+\/?$/.test(currentPath)
if (written.graph && fluxActive && fluxRef.current?.onRefreshFromStore) {
fluxRef.current.onRefreshFromStore(written.graph)
}
diff --git a/frontend/src/app/recollections/layout/RecollectionViewSwitcher.tsx b/frontend/src/app/recollections/layout/RecollectionViewSwitcher.tsx
index 6895782..3a46190 100644
--- a/frontend/src/app/recollections/layout/RecollectionViewSwitcher.tsx
+++ b/frontend/src/app/recollections/layout/RecollectionViewSwitcher.tsx
@@ -5,7 +5,7 @@
import React, { useCallback, useEffect } from 'react'
import { useLocation, useNavigate, useParams } from 'react-router-dom'
-import { FluxIcon, LogosIcon, RecollectionsIcon } from '@/lib/icons'
+import { FluxIcon, LogosIcon } from '@/lib/icons'
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '@/components/ui/tooltip'
function shortcutLabel() {
@@ -19,17 +19,13 @@ export function RecollectionViewSwitcher() {
const navigate = useNavigate()
const base = recollectionId ? `/recollections/${recollectionId}` : ''
- type Mode = 'logos' | 'katalogos' | 'flux'
- const mode: Mode = pathname.endsWith('/flux')
- ? 'flux'
- : pathname.endsWith('/katalogos')
- ? 'katalogos'
- : 'logos'
+ type Mode = 'logos' | 'flux'
+ const mode: Mode = pathname.endsWith('/flux') ? 'flux' : 'logos'
const goRelative = useCallback(
(delta: 1 | -1) => {
if (!base) return
- const order: Mode[] = ['logos', 'katalogos', 'flux']
+ const order: Mode[] = ['logos', 'flux']
const currentIndex = order.indexOf(mode)
const nextMode = order[(currentIndex + (delta === 1 ? 1 : order.length - 1)) % order.length]
navigate(`${base}/${nextMode}`)
@@ -61,11 +57,7 @@ export function RecollectionViewSwitcher() {
const shortcut = shortcutLabel()
const tooltipText =
- mode === 'logos'
- ? `Logos · Next: Katalogos (${shortcut})`
- : mode === 'katalogos'
- ? `Katalogos · Next: Flux (${shortcut})`
- : `Flux · Next: Logos (${shortcut})`
+ mode === 'logos' ? `Logos · Next: Flux (${shortcut})` : `Flux · Next: Logos (${shortcut})`
return (
@@ -75,34 +67,20 @@ export function RecollectionViewSwitcher() {