Skip to content

Commit

Permalink
Merge pull request #1075 from frappe/develop
Browse files Browse the repository at this point in the history
chore: merge 'develop' into 'main'
  • Loading branch information
pateljannat authored Oct 23, 2024
2 parents c2cb79f + 224bb18 commit 4737551
Show file tree
Hide file tree
Showing 6 changed files with 73 additions and 69 deletions.
15 changes: 1 addition & 14 deletions frontend/src/components/Controls/MultiSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -152,24 +152,11 @@ const filterOptions = createResource({
url: 'frappe.desk.search.search_link',
method: 'POST',
cache: [text.value, props.doctype],
auto: true,
params: {
txt: text.value,
doctype: props.doctype,
},
/* transform: (data) => {
let allData = data
.filter((c) => {
return c.description.split(', ')[1]
})
.map((option) => {
let email = option.description.split(', ')[1]
return {
label: option.label || email,
value: email,
}
})
return allData
}, */
})
const options = computed(() => {
Expand Down
1 change: 1 addition & 0 deletions frontend/src/components/LiveClass.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
</div>
<div class="flex items-center space-x-2 text-gray-900 mt-auto">
<a
v-if="user.data?.is_moderator || user.data?.is_evaluator"
:href="cls.start_url"
target="_blank"
class="w-1/2 cursor-pointer inline-flex items-center justify-center gap-2 transition-colors focus:outline-none text-gray-800 bg-gray-100 hover:bg-gray-200 active:bg-gray-300 focus-visible:ring focus-visible:ring-gray-400 h-7 text-base px-2 rounded"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/Lesson.vue
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ const renderEditor = (holder, content) => {
}
const markProgress = () => {
if (user.data && !lesson.data?.progress) {
if (user.data && lesson.data && !lesson.data.progress) {
progress.submit()
}
}
Expand Down
2 changes: 1 addition & 1 deletion lms/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.8.0"
__version__ = "2.9.0"
1 change: 1 addition & 0 deletions lms/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@
"lms.lms.utils.get_lesson_url",
"lms.page_renderers.get_profile_url",
"lms.overrides.user.get_palette",
"lms.lms.utils.is_instructor",
],
"filters": [],
}
Expand Down
Loading

0 comments on commit 4737551

Please sign in to comment.