Skip to content

Commit 80582dd

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

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

assets/svelte/databases/Form.svelte

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

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

0 commit comments

Comments
 (0)