mirror of
https://github.com/get-drexa/drive.git
synced 2025-12-01 05:51:39 +00:00
fix: upload dialog title in root dir
This commit is contained in:
@@ -2,7 +2,6 @@ import type { Doc } from "@fileone/convex/_generated/dataModel"
|
|||||||
import { useMutation } from "@tanstack/react-query"
|
import { useMutation } from "@tanstack/react-query"
|
||||||
import {
|
import {
|
||||||
atom,
|
atom,
|
||||||
type PrimitiveAtom,
|
|
||||||
useAtom,
|
useAtom,
|
||||||
useAtomValue,
|
useAtomValue,
|
||||||
useSetAtom,
|
useSetAtom,
|
||||||
@@ -126,7 +125,7 @@ export function UploadFileDialog({
|
|||||||
<DialogContent className="sm:max-w-2xl">
|
<DialogContent className="sm:max-w-2xl">
|
||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
<DialogTitle>
|
<DialogTitle>
|
||||||
Upload file to "{targetDirectory.name}"
|
{targetDirectory.name ? `Upload file to "${targetDirectory.name}"` : "Upload file"}
|
||||||
</DialogTitle>
|
</DialogTitle>
|
||||||
<DialogDescription>
|
<DialogDescription>
|
||||||
Drag and drop files here or click to select files
|
Drag and drop files here or click to select files
|
||||||
|
|||||||
Reference in New Issue
Block a user