Update +page.svelte

This commit is contained in:
Nathan 2026-02-09 17:34:44 -05:00
parent 32baf94eb2
commit 522c4d012e

View file

@ -158,6 +158,10 @@
error = 'Feedback for author is required';
return;
}
if (!internalJustification.trim()) {
error = 'Internal justification is required';
return;
}
confirmAction = action;
}
@ -171,6 +175,10 @@
error = 'Feedback for author is required';
return;
}
if (!internalJustification.trim()) {
error = 'Internal justification is required';
return;
}
submitting = true;
error = null;
@ -570,7 +578,9 @@
</div>
<div>
<label class="mb-1 block text-sm font-bold">internal justification</label>
<label class="mb-1 block text-sm font-bold"
>internal justification <span class="text-red-500">*</span></label
>
<textarea
bind:value={internalJustification}
rows="2"