Seems to be working still... Trying to update packages.

This commit is contained in:
Scott Idem
2025-12-05 14:50:06 -05:00
parent b3bad26d8f
commit 1fc58eb18f
6 changed files with 57 additions and 73 deletions

View File

@@ -11,6 +11,13 @@
let { event_id, template_id = null }: Props = $props();
function preventDefault<T extends Event>(fn: (event: T) => void) {
return function (event: T) {
event.preventDefault();
fn(event);
};
}
const dispatch = createEventDispatcher();
// Form fields
@@ -121,7 +128,7 @@
}
</script>
<form onsubmit|preventDefault={handle_submit} class="p-4 space-y-4">
<form onsubmit={preventDefault(() => {handle_submit})} class="p-4 space-y-4">
<h3 class="h3">{template_id ? 'Edit' : 'Create New'} Badge Template</h3>
<label class="label">

View File

@@ -3100,9 +3100,6 @@ zzzz
preset-outlined-success-400-600
shadow-lg rounded-lg
"
on:change={(e) => {
$journals_loc.entry.llm__system_prompt = e.detail;
}}
/>
</label>
</div>

View File

@@ -344,13 +344,10 @@
show_line_numbers={false}
placeholder="LLM System Prompt"
class="
p-1
preset-outlined-success-400-600
shadow-lg rounded-lg
"
on:change={(e) => {
$journals_loc.entry.llm__system_prompt = e.detail;
}}
p-1
preset-outlined-success-400-600
shadow-lg rounded-lg
"
/>
</label>