mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-01-19 21:00:14 +08:00
extra network metadata inherit old description
This commit is contained in:
parent
7f9dbc45b1
commit
c102780693
@ -40,6 +40,8 @@ class UserMetadataEditor:
|
|||||||
user_metadata = {}
|
user_metadata = {}
|
||||||
item['user_metadata'] = user_metadata
|
item['user_metadata'] = user_metadata
|
||||||
|
|
||||||
|
if len(user_metadata) == 0:
|
||||||
|
user_metadata = {'description': item.get('description', '')}
|
||||||
return user_metadata
|
return user_metadata
|
||||||
|
|
||||||
def create_extra_default_items_in_left_column(self):
|
def create_extra_default_items_in_left_column(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user