fix(editor): Set default value for isProductionExecutionPreview in NodeDetaillsView.vue (no-changelog) (#9788)

This commit is contained in:
Ricardo Espinoza 2024-06-17 23:17:27 -07:00 committed by GitHub
parent 876bcbb04c
commit 1e8716a607
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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();