mirror of
https://github.com/Dictionarry-Hub/profilarr.git
synced 2026-01-22 19:01:02 +01:00
feat: remove databaseName prop from GeneralForm in edit and create modes
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
<div class="mt-6">
|
||||
<GeneralForm
|
||||
mode="edit"
|
||||
databaseName={data.currentDatabase.name}
|
||||
canWriteToBase={data.canWriteToBase}
|
||||
actionUrl="?/update"
|
||||
{initialData}
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
|
||||
// Props
|
||||
export let mode: 'create' | 'edit';
|
||||
export let databaseName: string;
|
||||
export let canWriteToBase: boolean = false;
|
||||
export let actionUrl: string = '';
|
||||
export let initialData: GeneralFormData;
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
<div class="p-8">
|
||||
<GeneralForm
|
||||
mode="create"
|
||||
databaseName={data.currentDatabase.name}
|
||||
canWriteToBase={data.canWriteToBase}
|
||||
{initialData}
|
||||
onCancel={handleCancel}
|
||||
|
||||
Reference in New Issue
Block a user