aboutsummaryrefslogtreecommitdiff
path: root/modules/ui_extra_networks.py
diff options
context:
space:
mode:
authorVladimir Mandic <mandic00@live.com>2023-01-23 12:25:07 -0500
committerGitHub <noreply@github.com>2023-01-23 12:25:07 -0500
commitefa7287be0a018dcb92e362460cbe19d42d70b03 (patch)
tree5ca63fd1273dbd396453a29cbb7ee913c3d29880 /modules/ui_extra_networks.py
parent925dd09c91e7338aef72e4ec99d67b8b57280215 (diff)
parentc6f20f72629f3c417f10db2289d131441c6832f5 (diff)
Merge branch 'AUTOMATIC1111:master' into interrogate
Diffstat (limited to 'modules/ui_extra_networks.py')
-rw-r--r--modules/ui_extra_networks.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/ui_extra_networks.py b/modules/ui_extra_networks.py
index af2b8071..2ddac3d8 100644
--- a/modules/ui_extra_networks.py
+++ b/modules/ui_extra_networks.py
@@ -26,6 +26,7 @@ class ExtraNetworksPage:
pass
def create_html(self, tabname):
+ view = shared.opts.extra_networks_default_view
items_html = ''
for item in self.list_items():
@@ -36,7 +37,7 @@ class ExtraNetworksPage:
items_html = shared.html("extra-networks-no-cards.html").format(dirs=dirs)
res = f"""
-<div id='{tabname}_{self.name}_cards' class='extra-network-cards'>
+<div id='{tabname}_{self.name}_cards' class='extra-network-{view}'>
{items_html}
</div>
"""