refactor: simplify upload rules and remove destination flow
This commit is contained in:
@@ -2,14 +2,12 @@ import Modal, { ModalActions } from '@/components/ui/Modal'
|
||||
import { CheckIcon } from '@/components/ui/icons'
|
||||
|
||||
interface NoChangesModalProps {
|
||||
destination: string
|
||||
folderName: string
|
||||
onCancel: () => void
|
||||
onModify: () => void
|
||||
}
|
||||
|
||||
export default function NoChangesModal({
|
||||
destination,
|
||||
folderName,
|
||||
onCancel,
|
||||
onModify,
|
||||
@@ -25,7 +23,7 @@ export default function NoChangesModal({
|
||||
Aucun changement detecte
|
||||
</h3>
|
||||
<p className="text-xs text-gray-400 mt-0.5">
|
||||
Le dossier <span className="font-mono text-gray-300">{destination}/{folderName}</span> est identique au contenu distant. Rien a envoyer.
|
||||
Le dossier <span className="font-mono text-gray-300">public/models/{folderName}</span> est identique au contenu distant. Rien a envoyer.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user