mirror of
https://github.com/frappe/lms.git
synced 2026-04-30 12:49:26 +03:00
Merge pull request #1829 from pateljannat/issues-146
fix: evaluation issues
This commit is contained in:
+1
-1
Submodule frappe-ui updated: f1bde9bcb2...a286bd2713
@@ -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()
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user