mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-03-25 00:11:26 -07:00
fix: address PR #31 latest review follow-ups
This commit is contained in:
@@ -159,7 +159,9 @@ export function createYoutubeTrackPickerModal(
|
||||
setStatus(error instanceof Error ? error.message : String(error), true);
|
||||
} finally {
|
||||
resolveSelectionInFlight = false;
|
||||
setResolveControlsDisabled(false);
|
||||
const shouldKeepDisabled =
|
||||
ctx.state.youtubePickerModalOpen && !(ctx.state.youtubePickerPayload?.hasTracks ?? false);
|
||||
setResolveControlsDisabled(shouldKeepDisabled);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user