Skip to content

Commit fd15298

Browse files
authored
Merge pull request #732 from superannotateai/editor_context
Update get_component_config
2 parents 0fbb0f5 + 2d6042b commit fd15298

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/superannotate/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import sys
44

55

6-
__version__ = "4.4.29"
6+
__version__ = "4.4.30b1"
77

88
os.environ.update({"sa_version": __version__})
99
sys.path.append(os.path.split(os.path.realpath(__file__))[0])

src/superannotate/lib/app/interface/sdk_interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def retrieve_context(
303303
and component["id"] == component_pk
304304
):
305305
return True, component.get("context")
306-
if component["type"] == "group" and "children" in component:
306+
if component["type"] in ("group", "grid") and "children" in component:
307307
found, val = retrieve_context(component["children"], component_pk)
308308
if found:
309309
return found, val

0 commit comments

Comments
 (0)