chore: removed unused imports
This commit is contained in:
@@ -31,8 +31,6 @@ const props = defineProps({
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
console.log(props.title)
|
|
||||||
|
|
||||||
const file = computed(() => {
|
const file = computed(() => {
|
||||||
if (props.type == 'youtube') return '/assets/lms/frontend/Youtube.mp4'
|
if (props.type == 'youtube') return '/assets/lms/frontend/Youtube.mp4'
|
||||||
if (props.type == 'quiz') return '/assets/lms/frontend/Quiz.mp4'
|
if (props.type == 'quiz') return '/assets/lms/frontend/Quiz.mp4'
|
||||||
|
|||||||
@@ -311,7 +311,6 @@ const saveProgram = () => {
|
|||||||
docname: program.doc.name,
|
docname: program.doc.name,
|
||||||
name: program.doc.title,
|
name: program.doc.title,
|
||||||
}).then((data) => {
|
}).then((data) => {
|
||||||
console.log(data)
|
|
||||||
router.push({ name: 'ProgramForm', params: { programName: data } })
|
router.push({ name: 'ProgramForm', params: { programName: data } })
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
import frappe
|
import frappe
|
||||||
from frappe import _
|
from frappe import _
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
from frappe.model.rename_doc import update_document_title
|
|
||||||
|
|
||||||
|
|
||||||
class LMSProgram(Document):
|
class LMSProgram(Document):
|
||||||
|
|||||||
@@ -32,7 +32,6 @@ class LMSQuizSubmission(Document):
|
|||||||
self.percentage = (self.score / self.score_out_of) * 100
|
self.percentage = (self.score / self.score_out_of) * 100
|
||||||
|
|
||||||
def notify_member(self):
|
def notify_member(self):
|
||||||
print(self.is_new())
|
|
||||||
if self.score != 0 and self.has_value_changed("score"):
|
if self.score != 0 and self.has_value_changed("score"):
|
||||||
notification = frappe._dict(
|
notification = frappe._dict(
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user