From ca462dbe661e23ee5cee6619361543031709e1e3 Mon Sep 17 00:00:00 2001 From: Collin Heist Date: Tue, 3 Dec 2024 19:09:11 -0700 Subject: [PATCH] [147] Update cardTemplates.js --- app/templates/js/cardTemplates.js | 22 +++++++++++----------- modules/ref/version_webui | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/app/templates/js/cardTemplates.js b/app/templates/js/cardTemplates.js index 821721d6..258adf00 100755 --- a/app/templates/js/cardTemplates.js +++ b/app/templates/js/cardTemplates.js @@ -264,13 +264,13 @@ async function getAllTemplates() { allFonts, allEpisodeDataSources, allImageSources, - allFilterOptions, + // allFilterOptions, allTranslations, ] = await Promise.all([ fetch('/api/available/fonts').then(resp => resp.json()), fetch('/api/settings/episode-data-source').then(resp => resp.json()), fetch('/api/settings/image-source-priority').then(resp => resp.json()), - fetch('/api/available/template-filters').then(resp => resp.json()), + // fetch('/api/available/template-filters').then(resp => resp.json()), fetch('/api/available/translations').then(resp => resp.json()), ]); @@ -279,15 +279,15 @@ async function getAllTemplates() { const filterTemplate = document.getElementById('filter-template').content; const translationTemplate = document.getElementById('translation-template').content; // Filters arguments - const argumentMenu = filterTemplate.querySelector('.dropdown[data-value="filter-arguments"] .menu'); - allFilterOptions.arguments.forEach(argument => { - addDropdownItem(argumentMenu, {innerText: argument, value: argument}); - }); - // Filter operations - const operationMenu = filterTemplate.querySelector('.dropdown[data-value="filter-operators"] .menu'); - allFilterOptions.operations.forEach(operation => { - addDropdownItem(operationMenu, {innerText: operation, value: operation}); - }); + // const argumentMenu = filterTemplate.querySelector('.dropdown[data-value="filter-arguments"] .menu'); + // allFilterOptions.arguments.forEach(argument => { + // addDropdownItem(argumentMenu, {innerText: argument, value: argument}); + // }); + // // Filter operations + // const operationMenu = filterTemplate.querySelector('.dropdown[data-value="filter-operators"] .menu'); + // allFilterOptions.operations.forEach(operation => { + // addDropdownItem(operationMenu, {innerText: operation, value: operation}); + // }); // Fonts const fontMenu = htmlTemplate.querySelector('.dropdown[data-value="font_id"] .menu'); allFonts.forEach(font => { diff --git a/modules/ref/version_webui b/modules/ref/version_webui index 430bd643..90013132 100755 --- a/modules/ref/version_webui +++ b/modules/ref/version_webui @@ -1 +1 @@ -v2.0-alpha.13.0-webui146 \ No newline at end of file +v2.0-alpha.13.0-webui147 \ No newline at end of file