Got the tests to pass, so doing a commit

This commit is contained in:
Jonathan Bobel
2023-08-15 13:22:39 -04:00
parent ff33c7c7f9
commit 6b22c347da
8 changed files with 124 additions and 12 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('.template-list-template').length > 0).length;
const templates = allSelected.filter((idx, el) => $(el).siblings('.usa-template-list-template').length > 0).length;
const folders = allSelected.filter((idx, el) => $(el).siblings('.template-list-folder').length > 0).length;
const results = {
'templates': templates,