Fixed Tab content lost on reload

This commit is contained in:
2025-11-16 16:17:42 +01:00
parent ca238303b8
commit edcd3ae1a8
3 changed files with 56 additions and 26 deletions

View File

@@ -60,7 +60,7 @@ class MultipleInstance(BaseInstance):
"""
def __init__(self, session: dict, prefix: str, auto_register: bool = True, _id=None):
super().__init__(session, prefix, f"{prefix}-{_id or str(uuid.uuid4())}", auto_register)
super().__init__(session, prefix, _id or f"{prefix}-{str(uuid.uuid4())}", auto_register)
self._prefix = prefix