From 1e8716a607f61c6ab9d4eb06bf6b9bb687691cee Mon Sep 17 00:00:00 2001 From: Ricardo Espinoza Date: Mon, 17 Jun 2024 23:17:27 -0700 Subject: [PATCH] fix(editor): Set default value for `isProductionExecutionPreview` in `NodeDetaillsView.vue` (no-changelog) (#9788) --- .../editor-ui/src/components/NodeDetailsView.vue | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/packages/editor-ui/src/components/NodeDetailsView.vue b/packages/editor-ui/src/components/NodeDetailsView.vue index 41e6c364b..1517e05d9 100644 --- a/packages/editor-ui/src/components/NodeDetailsView.vue +++ b/packages/editor-ui/src/components/NodeDetailsView.vue @@ -187,11 +187,16 @@ const emit = defineEmits([ 'stopExecution', ]); -const props = defineProps<{ - readOnly: boolean; - renaming: boolean; - isProductionExecutionPreview: boolean; -}>(); +const props = withDefaults( + defineProps<{ + readOnly?: boolean; + renaming?: boolean; + isProductionExecutionPreview?: boolean; + }>(), + { + isProductionExecutionPreview: false, + }, +); const ndvStore = useNDVStore(); const externalHooks = useExternalHooks();