Merge pull request #1829 from pateljannat/issues-146

fix: evaluation issues
This commit is contained in:
Jannat Patel
2025-11-10 11:34:18 +05:30
committed by GitHub
5 changed files with 8 additions and 9 deletions
+2 -3
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()
+4 -2
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,
}
},
})
@@ -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'
-2
View File
@@ -1492,9 +1492,7 @@ def update_meta_info(type, route, meta_tags):
else:
new_tag = frappe.new_doc("Website Meta Tag")
new_tag.update(tag_properties)
print(new_tag)
new_tag.insert()
print(new_tag.as_dict())
@frappe.whitelist()