fix: Fix mapping paths when appending to empty expression (#5591)

* fix: Fix mapping when appending to empty expression

* fix: refactor logic out

* test: add tests

* test: add tests

* fix: fix bug where value does not get updated when mapping

* test: add test for bug

* test: add test for bug
This commit is contained in:
Mutasem Aldmour
2023-03-02 15:02:29 +03:00
committed by GitHub
parent 31cc8de829
commit 1f7b478920
9 changed files with 294 additions and 33 deletions

View File

@@ -12,6 +12,8 @@ export type IN8nButton = {
active?: boolean;
float?: 'left' | 'right';
square?: boolean;
// eslint-disable-next-line @typescript-eslint/naming-convention
'data-test-id'?: string;
};
listeners?: Record<string, (event: Event) => void>;
};