refactor: simplify upload rules and remove destination flow
This commit is contained in:
@@ -3,7 +3,6 @@ import Modal, { ModalActions } from '@/components/ui/Modal'
|
||||
import { WarningIcon } from '@/components/ui/icons'
|
||||
|
||||
interface OverwriteConfirmModalProps {
|
||||
destination: string
|
||||
folderName: string
|
||||
diffs: FileDiff[]
|
||||
onCancel: () => void
|
||||
@@ -11,7 +10,6 @@ interface OverwriteConfirmModalProps {
|
||||
}
|
||||
|
||||
export default function OverwriteConfirmModal({
|
||||
destination,
|
||||
folderName,
|
||||
diffs,
|
||||
onCancel,
|
||||
@@ -28,7 +26,7 @@ export default function OverwriteConfirmModal({
|
||||
Dossier deja existant
|
||||
</h3>
|
||||
<p className="text-xs text-gray-400 mt-0.5">
|
||||
<span className="font-mono text-yellow-400">{destination}/{folderName}</span> existe deja.
|
||||
<span className="font-mono text-yellow-400">public/models/{folderName}</span> existe deja.
|
||||
Les anciens fichiers seront archives sur le Drive, puis les nouveaux seront envoyes sur le Drive et Git.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user