feat(editor): Cleanup unused keymap functions and add additional onSave events in new canvas (no-changelog) (#10106)

This commit is contained in:
Alex Grozav
2024-07-19 14:40:00 +03:00
committed by GitHub
parent a388cc33d6
commit 4559e3ae18
4 changed files with 47 additions and 20 deletions

View File

@@ -116,7 +116,7 @@ const isNewWorkflow = computed(() => {
});
const isWorkflowSaving = computed(() => {
return uiStore.isActionActive['workflowSaving'];
return uiStore.isActionActive.workflowSaving;
});
const onWorkflowPage = computed(() => {
@@ -710,6 +710,7 @@ function showCreateWorkflowSuccessToast(id?: string) {
type="primary"
:saved="!uiStore.stateIsDirty && !isNewWorkflow"
:disabled="isWorkflowSaving || readOnly"
:is-saving="isWorkflowSaving"
with-shortcut
:shortcut-tooltip="$locale.baseText('saveWorkflowButton.hint')"
data-test-id="workflow-save-button"