diff --git a/packages/editor-ui/src/components/PersonalizationModal.vue b/packages/editor-ui/src/components/PersonalizationModal.vue index 863278447694c..6a67594283ed5 100644 --- a/packages/editor-ui/src/components/PersonalizationModal.vue +++ b/packages/editor-ui/src/components/PersonalizationModal.vue @@ -122,7 +122,8 @@ import { REPORTED_SOURCE_EVENT, REPORTED_SOURCE_OTHER, REPORTED_SOURCE_OTHER_KEY, -} from '../constants'; + VIEWS, +} from '@/constants'; import { workflowHelpers } from '@/mixins/workflowHelpers'; import { showMessage } from '@/mixins/showMessage'; import Modal from './Modal.vue'; @@ -606,6 +607,11 @@ export default mixins(showMessage, workflowHelpers).extend({ methods: { closeDialog() { this.modalBus.emit('close'); + // In case the redirect to canvas for new users didn't happen + // we try again after closing the modal + if(this.$route.name !== VIEWS.NEW_WORKFLOW) { + this.$router.replace({ name: VIEWS.NEW_WORKFLOW }); + } }, onSave() { this.formBus.emit('submit');