Add tutor bug
This commit is contained in:
@@ -75,6 +75,7 @@ export function handleDelete(lessonId) {
|
||||
}
|
||||
|
||||
export async function handleSaveLesson(lesson, course_id) {
|
||||
console.log(`lesson`, lesson);
|
||||
const newLesson = {
|
||||
title: lesson.title,
|
||||
lesson_at: lesson.lesson_at,
|
||||
|
||||
@@ -169,7 +169,7 @@
|
||||
{#if lessonEditing === index}
|
||||
<Select
|
||||
bind:value={lesson.profile}
|
||||
options={$group.tutors}
|
||||
options={[...$group.tutors.filter((t) => !!t.profile)]}
|
||||
labelKey="fullname"
|
||||
/>
|
||||
{:else if !lesson.profile}
|
||||
|
||||
Reference in New Issue
Block a user