feat(Editor): use iniitial event name as step name when empty

This commit is contained in:
Ali BARIN
2025-01-08 15:11:15 +00:00
parent dadd35d791
commit f6be5f1263
2 changed files with 3 additions and 3 deletions

View File

@@ -27,8 +27,8 @@ function Editor(props) {
connectionId: step.connection?.id,
};
if (step.name) {
payload.name = step.name;
if (step.name || step.keyLabel) {
payload.name = step.name || step.keyLabel;
}
if (step.appKey) {

View File

@@ -90,7 +90,7 @@ const EditorNew = ({ flow }) => {
connectionId: step.connection?.id,
};
if (step.name) {
if (step.name || step.keyLabel) {
payload.name = step.name || step.keyLabel;
}