We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a31f4f commit 27d57dbCopy full SHA for 27d57db
custom/VisionAction.vue
@@ -181,6 +181,11 @@ const popupMode = ref<'generation' | 'confirmation' | 'settings'>('confirmation'
181
const generationPrompts = ref<any>({});
182
183
const openDialog = async () => {
184
+ if (props.meta.askConfirmationBeforeGenerating) {
185
+ popupMode.value = 'confirmation';
186
+ } else {
187
+ popupMode.value = 'generation';
188
+ }
189
isDialogOpen.value = true;
190
confirmDialog.value.open();
191
isFetchingRecords.value = true;
0 commit comments