diff --git a/py/utils/routes_common.py b/py/utils/routes_common.py index 8f00106b..40b02cb5 100644 --- a/py/utils/routes_common.py +++ b/py/utils/routes_common.py @@ -551,8 +551,6 @@ class ModelRouteUtils: # Add to excluded models list scanner._excluded_models.append(file_path) - - await scanner._save_cache_to_disk() return web.json_response({ 'success': True, diff --git a/static/js/components/alphabet/AlphabetBar.js b/static/js/components/alphabet/AlphabetBar.js index c56a2d5b..723e3089 100644 --- a/static/js/components/alphabet/AlphabetBar.js +++ b/static/js/components/alphabet/AlphabetBar.js @@ -227,7 +227,7 @@ export class AlphabetBar { this.updateToggleIndicator(); // Trigger a reload with the new filter - resetAndReload(true); + resetAndReload(false); } /** diff --git a/templates/components/modals.html b/templates/components/modals.html index 7f152c90..8d163336 100644 --- a/templates/components/modals.html +++ b/templates/components/modals.html @@ -1,715 +1,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file +{% include 'components/modals/confirm_modals.html' %} +{% include 'components/modals/settings_modal.html' %} +{% include 'components/modals/support_modal.html' %} +{% include 'components/modals/update_modal.html' %} +{% include 'components/modals/help_modal.html' %} +{% include 'components/modals/relink_civitai_modal.html' %} +{% include 'components/modals/example_access_modal.html' %} \ No newline at end of file diff --git a/templates/components/modals/confirm_modals.html b/templates/components/modals/confirm_modals.html new file mode 100644 index 00000000..ba03493f --- /dev/null +++ b/templates/components/modals/confirm_modals.html @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/templates/components/modals/example_access_modal.html b/templates/components/modals/example_access_modal.html new file mode 100644 index 00000000..bfd56fb7 --- /dev/null +++ b/templates/components/modals/example_access_modal.html @@ -0,0 +1,27 @@ + + \ No newline at end of file diff --git a/templates/components/modals/help_modal.html b/templates/components/modals/help_modal.html new file mode 100644 index 00000000..0c1d1566 --- /dev/null +++ b/templates/components/modals/help_modal.html @@ -0,0 +1,131 @@ + + \ No newline at end of file diff --git a/templates/components/modals/relink_civitai_modal.html b/templates/components/modals/relink_civitai_modal.html new file mode 100644 index 00000000..b8358bcb --- /dev/null +++ b/templates/components/modals/relink_civitai_modal.html @@ -0,0 +1,33 @@ + + \ No newline at end of file diff --git a/templates/components/modals/settings_modal.html b/templates/components/modals/settings_modal.html new file mode 100644 index 00000000..a475a568 --- /dev/null +++ b/templates/components/modals/settings_modal.html @@ -0,0 +1,278 @@ + + \ No newline at end of file diff --git a/templates/components/modals/support_modal.html b/templates/components/modals/support_modal.html new file mode 100644 index 00000000..c2a3ab63 --- /dev/null +++ b/templates/components/modals/support_modal.html @@ -0,0 +1,91 @@ + + \ No newline at end of file diff --git a/templates/components/modals/update_modal.html b/templates/components/modals/update_modal.html new file mode 100644 index 00000000..e6e162ae --- /dev/null +++ b/templates/components/modals/update_modal.html @@ -0,0 +1,64 @@ + + \ No newline at end of file