feat: tailor root breadcrumb label

in all files page, the root breadcrumb label says "All Files", and
"Trash" in trash page
This commit is contained in:
2025-10-05 00:48:36 +00:00
parent 94b35df0e5
commit b43a88c6fc
3 changed files with 4 additions and 4 deletions

View File

@@ -126,7 +126,7 @@ function RouteComponent() {
value={{ rootDirectory, directory, directoryContent }}
>
<header className="flex py-2 shrink-0 items-center gap-2 border-b px-4 w-full">
<FilePathBreadcrumb />
<FilePathBreadcrumb rootLabel="All Files" />
<div className="ml-auto flex flex-row gap-2">
<NewDirectoryItemDropdown />
<UploadFileButton />

View File

@@ -92,7 +92,7 @@ function RouteComponent() {
value={{ rootDirectory, directory, directoryContent }}
>
<header className="flex py-2 shrink-0 items-center gap-2 border-b px-4 w-full">
<FilePathBreadcrumb />
<FilePathBreadcrumb rootLabel="Trash" />
<div className="ml-auto flex flex-row gap-2">
<EmptyTrashButton />
</div>