mirror of
https://github.com/frappe/lms.git
synced 2026-04-19 22:52:29 +03:00
Revert "revert(course): use checkbox with tooltip for certification filter"
This commit is contained in:
@@ -77,14 +77,13 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<Tooltip :text="__('Only show courses that offer a certificate.')">
|
||||
<FormControl
|
||||
type="checkbox"
|
||||
v-model="certification"
|
||||
:label="__('Certification')"
|
||||
@change="updateCourses()"
|
||||
/>
|
||||
</Tooltip>
|
||||
<Switch
|
||||
size="sm"
|
||||
v-model="certification"
|
||||
:label="__('Certification')"
|
||||
:description="__('Only show courses that offer a certificate.')"
|
||||
@change="updateCourses()"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
@@ -124,7 +123,7 @@ import {
|
||||
FormControl,
|
||||
Select,
|
||||
TabButtons,
|
||||
Tooltip,
|
||||
Switch,
|
||||
usePageMeta,
|
||||
} from 'frappe-ui'
|
||||
import { computed, inject, onMounted, ref, watch } from 'vue'
|
||||
|
||||
Reference in New Issue
Block a user