Got the tests to work

This commit is contained in:
Jonathan Bobel
2023-08-23 11:24:35 -04:00
parent a4fc40bcba
commit 966e929d47
3 changed files with 15 additions and 16 deletions

View File

@@ -261,7 +261,7 @@
this.countSelectedCheckboxes = function() {
const allSelected = this.$form.find('input:checkbox:checked');
const templates = allSelected.filter((idx, el) => $(el).siblings('.usa-template-list-template').length > 0).length;
const templates = allSelected.filter((idx, el) => $(el).siblings('.template-list-template').length > 0).length;
const folders = allSelected.filter((idx, el) => $(el).siblings('.template-list-folder').length > 0).length;
const results = {
'templates': templates,