fix: prevent duplicate uploads and group asset commits
This commit is contained in:
@@ -5,12 +5,14 @@ interface DriveErrorModalProps {
|
||||
error: string
|
||||
onCancel: () => void
|
||||
onContinue: () => void
|
||||
disabled?: boolean
|
||||
}
|
||||
|
||||
export default function DriveErrorModal({
|
||||
error,
|
||||
onCancel,
|
||||
onContinue,
|
||||
disabled = false,
|
||||
}: DriveErrorModalProps) {
|
||||
return (
|
||||
<Modal ariaLabelledBy="drive-error-title">
|
||||
@@ -41,6 +43,7 @@ export default function DriveErrorModal({
|
||||
confirmLabel="Envoyer sur Git seulement"
|
||||
onCancel={onCancel}
|
||||
onConfirm={onContinue}
|
||||
disabled={disabled}
|
||||
/>
|
||||
</Modal>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user