Skip to content

Commit 6bf812f

Browse files
fix: remove bug with converting empty list to actionrow (#997)
* fix: fix converting empty list to actionrow * move check * ci: correct from checks. Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 13d024a commit 6bf812f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

interactions/client/models/component.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,9 @@ def __check_components():
412412
11, message="The specified components are invalid and could not be created!"
413413
)
414414

415+
if not components:
416+
return components
417+
415418
_components = __check_action_row()
416419

417420
if _components:

0 commit comments

Comments
 (0)