Skip to content

Commit d3af62c

Browse files
committed
fix: components not respecting subinheritance.
1 parent d022a5d commit d3af62c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

interactions/models/component.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ def __init__(self, **kwargs) -> None:
192192
self.options = (
193193
[SelectMenu(**option) for option in self.options] if self._json.get("options") else None
194194
)
195+
if self._json.get("components"):
196+
self._json["components"] = [component._json for component in self.components]
195197

196198

197199
class TextInput(DictSerializerMixin):

0 commit comments

Comments
 (0)