diff --git a/CHANGELOG.md b/CHANGELOG.md index 705abb7d..edcb7bba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ## [Unreleased] (Preview) +### Changed + +- (**Migration**) Show "abort" button during active bulk migration search + ### Fixed - (**Migration**) Fix aborting bulk migration search/execution while webUI is served on a subpath diff --git a/src/features/migration/screens/MigrationSearch.tsx b/src/features/migration/screens/MigrationSearch.tsx index 465ece32..17537ebe 100644 --- a/src/features/migration/screens/MigrationSearch.tsx +++ b/src/features/migration/screens/MigrationSearch.tsx @@ -127,9 +127,13 @@ export const MigrationSearch = () => { /> { + if (!isSearchComplete || !hasMigratableEntries) { + await MigrationManager.abort('User aborted search'); + return; + } + try { const options = await AwaitableComponent.show(MigrationOptionsDialog); await MigrationManager.startMigration(options);