Skip to content

Commit e8a4cb8

Browse files
authored
Add return to pack_models (#3923)
1 parent b12dae7 commit e8a4cb8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/base/src/widget.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ export function pack_models(
8787
for (const [key, sub_value] of Object.entries(value)) {
8888
packed[key] = pack_models(sub_value, widget);
8989
}
90+
return packed;
9091
} else {
9192
return value;
9293
}

0 commit comments

Comments
 (0)