feat: custom advanced params

This commit is contained in:
Timothy Jaeryang Baek
2025-05-29 03:33:11 +04:00
parent bb4115fa0e
commit 9220afe7b3
5 changed files with 103 additions and 56 deletions

View File

@@ -119,6 +119,7 @@
toast.error('Model Name is required.');
}
info.params = { ...info.params, ...params };
info.access_control = accessControl;
info.meta.capabilities = capabilities;
@@ -588,13 +589,7 @@
{#if showAdvanced}
<div class="my-2">
<AdvancedParams
admin={true}
bind:params
on:change={(e) => {
info.params = { ...info.params, ...params };
}}
/>
<AdvancedParams admin={true} custom={true} bind:params />
</div>
{/if}
</div>