mirror of
https://github.com/frappe/lms.git
synced 2026-05-02 13:39:31 +03:00
fix: misc issues
This commit is contained in:
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,
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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'>
|
||||||
|
|||||||
Reference in New Issue
Block a user