feat(core): Improve debugging of sub-workflows (#11602)

This commit is contained in:
Mutasem Aldmour
2024-11-14 23:04:43 +01:00
committed by GitHub
parent f4ca4b792f
commit fd3254d587
36 changed files with 1843 additions and 265 deletions

View File

@@ -25,6 +25,7 @@ const route = useRoute();
const router = useRouter();
const toast = useToast();
const { callDebounced } = useDebounce();
const workflowHelpers = useWorkflowHelpers({ router });
const nodeHelpers = useNodeHelpers();
@@ -100,6 +101,16 @@ async function fetchExecution() {
} catch (error) {
toast.showError(error, i18n.baseText('nodeView.showError.openExecution.title'));
}
if (!currentExecution.value) {
toast.showMessage({
type: 'error',
title: i18n.baseText('openExecution.missingExeuctionId.title'),
message: i18n.baseText('openExecution.missingExeuctionId.message'),
});
return;
}
}
function onDocumentVisibilityChange() {