You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During the run both footer buttons are disabled ("Cancel" greyed out, "Executing..."), and so is the header X. A large dump cannot be stopped once started, unlike Backup and Restore, which both offer Cancel.
Cause
src/components/import/ImportDialog.tsx:731-745: Cancel is disabled={importing} and there is no cancel handler; importIdRef is set but never used to stop the job.
Fix
Keep a Cancel button enabled during an SQL import and wire it to the job-cancel command restore already uses (api.cancelBackup(id) with importIdRef.current). Show the same "cancelled / what was applied" summary the restore dialog shows.
Activity
feat: let users stop a running SQL import