mirror of
https://github.com/System-End/scraps.git
synced 2026-04-20 00:25:18 +00:00
Update +page.svelte
This commit is contained in:
parent
32baf94eb2
commit
522c4d012e
1 changed files with 11 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue