Merge pull request #1561 from pateljannat/evaluator-link-in-batch

fix batch instructor should be linked to evaluator
This commit is contained in:
Jannat Patel
2025-06-05 15:06:46 +05:30
committed by GitHub
7 changed files with 76 additions and 31 deletions

View File

@@ -55,9 +55,10 @@
</div>
</li>
</ComboboxOption>
<div class="h-10"></div>
<div
v-if="attrs.onCreate"
class="absolute bottom-2 left-1 w-[98%] pt-2 bg-white border-t"
class="absolute bottom-2 left-1 w-[99%] pt-2 bg-white border-t"
>
<Button
variant="ghost"

View File

@@ -33,6 +33,7 @@
:placeholder="__('Email')"
type="email"
class="w-full"
@keydown.enter="addEvaluator"
/>
<Button @click="addEvaluator()" variant="subtle">
{{ __('Add') }}

View File

@@ -23,10 +23,10 @@
/>
<MultiSelect
v-model="instructors"
doctype="User"
doctype="Course Evaluator"
:label="__('Instructors')"
:required="true"
:onCreate="(close) => openSettings('Members', close)"
:onCreate="(close) => openSettings('Evaluators', close)"
:filters="{ ignore_user_type: 1 }"
/>
</div>