Merge branch 'Max/Backend/GetUserById' into wal/front/listingUsers
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 2m2s
Build and test backend / Test-backend (pull_request) Successful in 1m57s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 23s

This commit is contained in:
2024-03-17 22:00:56 +01:00
5 changed files with 18 additions and 7 deletions

View File

@ -2,7 +2,7 @@
import i18n from "@/i18n.js"
import {ref} from 'vue'
import { getCourses,deleteCourse,alterCourse,createCourse } from "@/rest/courses.js"
import {getSelf, getTeachers } from "@/rest/Users.js"
import {getUser, getSelf, getTeachers } from "@/rest/Users.js"
const self = await getSelf();
@ -108,7 +108,7 @@
<div style="margin-bottom:20px;">
{{i18n("Teacher")}} :
<select style="max-width:200px;" class="teacher" v-model="toAdd.owner">
<option v-for="item in profList">{{item.regNo}}</option>
<option v-for="item in profList">{{item}}</option>
</select>
</div>
<div style="margin-bottom:20px;">