fix: evaluation issues

This commit is contained in:
Jannat Patel
2025-11-10 11:24:43 +05:30
parent b7144727e9
commit 85d793ee64
5 changed files with 8 additions and 9 deletions

View File

@@ -189,6 +189,8 @@ const user = inject('$user')
const dayjs = inject('$dayjs')
const tabIndex = ref(0)
const showCertification = ref(false)
const evaluation = reactive({})
const certificate = reactive({})
const props = defineProps({
event: {
@@ -197,9 +199,6 @@ const props = defineProps({
},
})
const evaluation = reactive({})
const certificate = reactive({})
watch(user, () => {
if (userIsEvaluator()) {
defaultTemplate.reload()

View File

@@ -129,8 +129,10 @@ onMounted(() => {
const profile = createResource({
url: 'lms.lms.api.get_profile_details',
params: {
username: props.username,
makeParams() {
return {
username: props.username,
}
},
})

View File

@@ -36,7 +36,7 @@
</Calendar>
</div>
</div>
<Event v-if="showEvent" v-model="showEvent" :event="currentEvent" />
<Event v-model="showEvent" :event="currentEvent" />
</template>
<script setup>
import { Calendar, createListResource, Button } from 'frappe-ui'