Merge pull request #1692 from pateljannat/issues-129

fix: misc issues
This commit is contained in:
Jannat Patel
2025-08-20 18:31:43 +05:30
committed by GitHub
8 changed files with 12 additions and 3 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

View File

@@ -185,6 +185,7 @@ const openProfile = (username: string) => {
username: username,
},
})
console.log(show.value)
}
const newMember = createResource({

View File

@@ -37,6 +37,7 @@
<component
v-if="activeTab.template"
:is="activeTab.template"
v-model:show="show"
v-bind="{
label: activeTab.label,
description: activeTab.description,

View File

@@ -142,7 +142,10 @@
{{ __('Settings') }}
</div>
<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
type="checkbox"
v-model="course.published"

View File

@@ -58,7 +58,9 @@ export class Assignment {
}
call('frappe.client.get_value', {
doctype: 'LMS Assignment',
name: assignment,
filters: {
name: assignment,
},
fieldname: ['title'],
}).then((data) => {
this.wrapper.innerHTML = `<div class='border rounded-md p-4 text-center bg-surface-menu-bar mb-4'>

View File

@@ -79,7 +79,9 @@ export class Program {
}
call("frappe.client.get_value", {
doctype: 'LMS Programming Exercise',
name: exercise,
filters: {
name: exercise
},
fieldname: "title"
}).then((data: { title: string }) => {
this.wrapper.innerHTML = `<div class='border rounded-md p-4 text-center bg-surface-menu-bar mb-4'>