feat(tasks): a work request's description is optional
This commit is contained in:
3 files changed
+5
-5
No files matched your search
@@ -71,7 +71,7 @@ const submitting = ref(false);
|
||||
const error = ref("");
|
||||
const ready = computed(
|
||||
() =>
|
||||
!!((repository.value.trim() || !repoRequired.value) && workflow.value && title.value.trim() && instructions.value.trim()) &&
|
||||
!!((repository.value.trim() || !repoRequired.value) && workflow.value && title.value.trim()) &&
|
||||
missing.value.length === 0,
|
||||
);
|
||||
async function submit() {
|
||||
@@ -169,7 +169,7 @@ async function submit() {
|
||||
</div>
|
||||
<div class="grid gap-1.5">
|
||||
<label :for="`${uid}-instr`" class="text-[13px] font-medium">Description</label>
|
||||
<Textarea :id="`${uid}-instr`" v-model="instructions" :rows="4" required />
|
||||
<Textarea :id="`${uid}-instr`" v-model="instructions" :rows="4" />
|
||||
</div>
|
||||
|
||||
<p v-if="error" class="text-sm text-danger" role="alert">{{ error }}</p>
|
||||
|
||||
Reference in new issue
Block a user