Allow manual match selection on failed tracks (not just not_found)
Failed tracks had candidates from the initial search but no way to retry with a different source. Now clickable like not_found tracks to open the manual match modal.
This commit is contained in:
parent
485a2d2792
commit
3f70fac48c
1 changed files with 2 additions and 2 deletions
|
|
@ -13706,8 +13706,8 @@ function processModalStatusUpdate(playlistId, data) {
|
||||||
statusEl.dataset.errorMsg = task.error_message;
|
statusEl.dataset.errorMsg = task.error_message;
|
||||||
_ensureErrorTooltipListeners(statusEl);
|
_ensureErrorTooltipListeners(statusEl);
|
||||||
}
|
}
|
||||||
// Make not_found cells clickable to review search candidates
|
// Make not_found and failed cells clickable to review search candidates
|
||||||
if (task.status === 'not_found' && task.has_candidates) {
|
if ((task.status === 'not_found' || task.status === 'failed') && task.has_candidates) {
|
||||||
statusEl.classList.add('has-candidates');
|
statusEl.classList.add('has-candidates');
|
||||||
statusEl.dataset.taskId = task.task_id;
|
statusEl.dataset.taskId = task.task_id;
|
||||||
_ensureCandidatesClickListener(statusEl);
|
_ensureCandidatesClickListener(statusEl);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue