fix: misc issues

This commit is contained in:
Jannat Patel
2025-08-20 17:13:23 +05:30
parent e886088dff
commit 7cd401327b
7 changed files with 9 additions and 2 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

@@ -185,6 +185,7 @@ const openProfile = (username: string) => {
username: username, username: username,
}, },
}) })
console.log(show.value)
} }
const newMember = createResource({ const newMember = createResource({
@@ -37,6 +37,7 @@
<component <component
v-if="activeTab.template" v-if="activeTab.template"
:is="activeTab.template" :is="activeTab.template"
v-model:show="show"
v-bind="{ v-bind="{
label: activeTab.label, label: activeTab.label,
description: activeTab.description, description: activeTab.description,
+4 -1
View File
@@ -142,7 +142,10 @@
{{ __('Settings') }} {{ __('Settings') }}
</div> </div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-5"> <div class="grid grid-cols-1 md:grid-cols-2 gap-5">
<div class="flex flex-col space-y-5"> <div
v-if="user.data?.is_moderator"
class="flex flex-col space-y-5"
>
<FormControl <FormControl
type="checkbox" type="checkbox"
v-model="course.published" v-model="course.published"
+3 -1
View File
@@ -58,7 +58,9 @@ export class Assignment {
} }
call('frappe.client.get_value', { call('frappe.client.get_value', {
doctype: 'LMS Assignment', doctype: 'LMS Assignment',
name: assignment, filters: {
name: assignment,
},
fieldname: ['title'], fieldname: ['title'],
}).then((data) => { }).then((data) => {
this.wrapper.innerHTML = `<div class='border rounded-md p-4 text-center bg-surface-menu-bar mb-4'> this.wrapper.innerHTML = `<div class='border rounded-md p-4 text-center bg-surface-menu-bar mb-4'>