fix: quiz list in lesson page

This commit is contained in:
Jannat Patel
2023-09-12 18:03:56 +05:30
parent 6ab4f15d0c
commit 1a07021bbf
4 changed files with 22 additions and 104 deletions

View File

@@ -116,15 +116,6 @@
{%- block script %}
{{ super() }}
{% if is_moderator %}
<script>
frappe.boot.user = {
"can_create": [],
"can_select": ["LMS Quiz"],
"can_read": ["LMS Quiz"]
};
</script>
{% endif %}
<script src="https://cdn.jsdelivr.net/npm/@editorjs/editorjs@latest"></script>
<script src="https://cdn.jsdelivr.net/npm/@editorjs/paragraph@latest"></script>
<script src="https://cdn.jsdelivr.net/npm/@editorjs/header@latest"></script>