mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-31 19:15:17 +02:00
refactor header title logic to use getBaseName for selectedPath
This commit is contained in:
parent
8dd940a659
commit
087e809d4c
1 changed files with 1 additions and 1 deletions
|
|
@ -2500,7 +2500,7 @@ function App() {
|
||||||
? "mx-auto w-full max-w-4xl pb-28"
|
? "mx-auto w-full max-w-4xl pb-28"
|
||||||
: "mx-auto w-full max-w-4xl min-h-full items-center justify-center pb-0"
|
: "mx-auto w-full max-w-4xl min-h-full items-center justify-center pb-0"
|
||||||
const headerTitle = selectedPath
|
const headerTitle = selectedPath
|
||||||
? selectedPath
|
? getBaseName(selectedPath)
|
||||||
: isGraphOpen
|
: isGraphOpen
|
||||||
? 'Graph View'
|
? 'Graph View'
|
||||||
: selectedBackgroundTask
|
: selectedBackgroundTask
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue