Skip to content

Commit

Permalink
-> #1386
Browse files Browse the repository at this point in the history
  • Loading branch information
s-paquette committed Aug 22, 2024
1 parent 50ada1e commit e23a387
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion static/js/image_search.js
Original file line number Diff line number Diff line change
Expand Up @@ -1897,9 +1897,11 @@ require([
"warning zero-results",
"Your filters returned zero results!",
true
)
);
$('#export-manifest, #save-cohort-btn').attr('disabled', 'disabled');
} else {
$('.zero-results').remove();
$('#export-manifest, #save-cohort-btn').removeAttr('disabled');
}
let file_parts_count = (is_cohort ? cohort_file_parts_count : (data.total > 0 ? data.totals.file_parts_count: 0));
let display_file_parts_count = (is_cohort ? cohort_display_file_parts_count : (data.total > 0 ? data.totals.display_file_parts_count : 0));
Expand Down

0 comments on commit e23a387

Please sign in to comment.