mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-02-03 06:13:06 -08:00
clean up presentation of dirs view. need to resolve issue with initial load of tree view.
This commit is contained in:
parent
08da356a2f
commit
fb07a60690
6 changed files with 75 additions and 25 deletions
|
|
@ -588,7 +588,7 @@ class ExtraNetworksPage:
|
|||
subdirs[subdir] = 1
|
||||
|
||||
if subdirs:
|
||||
subdirs = {"": 1, **subdirs}
|
||||
subdirs = {**subdirs}
|
||||
|
||||
subdirs_html = "".join([
|
||||
self.btn_dirs_view_tpl.format(**{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue