Revert "revert(course): use checkbox with tooltip for certification filter"

This commit is contained in:
Jannat Patel
2026-03-19 16:50:46 +05:30
committed by GitHub
parent 1e646e35a2
commit d942dca029

View File

@@ -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'