feat(Editor): use iniitial event name as step name when empty
This commit is contained in:
@@ -27,8 +27,8 @@ function Editor(props) {
|
|||||||
connectionId: step.connection?.id,
|
connectionId: step.connection?.id,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (step.name) {
|
if (step.name || step.keyLabel) {
|
||||||
payload.name = step.name;
|
payload.name = step.name || step.keyLabel;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (step.appKey) {
|
if (step.appKey) {
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ const EditorNew = ({ flow }) => {
|
|||||||
connectionId: step.connection?.id,
|
connectionId: step.connection?.id,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (step.name) {
|
if (step.name || step.keyLabel) {
|
||||||
payload.name = step.name || step.keyLabel;
|
payload.name = step.name || step.keyLabel;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user