Skip to content

Commit fca9a7a

Browse files
committed
Show 'Edit database' in title when editing
1 parent 0a49d62 commit fca9a7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/svelte/databases/Form.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ sequin tunnel --ports=[your-local-port]:${form.name}`;
316316
}
317317
</script>
318318

319-
<FullPageForm title="Connect Database" on:close={handleClose}>
319+
<FullPageForm title={isEdit ? `Edit database ${form.name}` : "Connect Database"} on:close={handleClose}>
320320
<form on:submit={handleSubmit} class="space-y-6 max-w-3xl mx-auto">
321321
<Card>
322322
<CardHeader class="flex flex-row items-center">

0 commit comments

Comments
 (0)