fix gallery duplicate entries

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-05-30 11:04:56 +02:00
parent 9168a66fd2
commit 98a11fc86c
4 changed files with 55 additions and 19 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ class UiLoadsave:
if debug_ui and key in self.component_mapping and not key.startswith('customscript'):
errors.log.warning(f'UI duplicate: key="{key}" id={getattr(obj, "elem_id", None)} class={getattr(obj, "elem_classes", None)}')
if hasattr(obj, 'skip'):
print('HERE', key)
pass
if (field == 'value') and (key not in self.component_mapping):
self.component_mapping[key] = x
if field == 'open' and key not in self.component_mapping: