Skip to content

Commit db93190

Browse files
committed
fix e2e
1 parent 2292fe4 commit db93190

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

web-common/src/features/sources/modal/AddDataForm.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,7 @@
447447
bind:primaryLoadingCopy={multiStepLoadingCopy}
448448
bind:formId={multiStepFormId}
449449
bind:yamlPreview={multiStepYamlPreview}
450+
bind:yamlPreviewTitle={multiStepYamlPreviewTitle}
450451
bind:isSubmitting={multiStepSubmitting}
451452
bind:showSaveAnyway={multiStepShowSaveAnyway}
452453
bind:saveAnywayLoading={multiStepSaveAnywayLoading}

web-common/src/features/sources/modal/ConnectorForm.svelte

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
export let primaryLoadingCopy = "";
3030
export let formId = "";
3131
export let yamlPreview = "";
32+
export let yamlPreviewTitle = "Connector preview";
3233
export let showSaveAnyway = false;
3334
export let saveAnywayLoading = false;
3435
export let saveAnywayHandler: () => Promise<void> = async () => {};
@@ -202,6 +203,8 @@
202203
paramsFormValues: $paramsForm,
203204
dsnFormValues: {},
204205
});
206+
$: yamlPreviewTitle =
207+
stepState.step === "connector" ? "Connector preview" : "Model preview";
205208
// Submission wiring
206209
$: isSubmitting = $paramsSubmitting;
207210
$: handleOnUpdate = formManager.makeOnUpdate({

0 commit comments

Comments
 (0)