mirror of
https://github.com/get-drexa/drive.git
synced 2025-12-06 08:11:39 +00:00
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:
@@ -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 />
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user