revert: certification batch filter to a checkbox

This commit is contained in:
Jannat Patel
2026-03-19 18:01:09 +05:30
parent f2807d3e38
commit 189fc08cdb
2 changed files with 10 additions and 9 deletions
+9 -8
View File
@@ -78,13 +78,14 @@
</div>
</div>
<Switch
size="sm"
v-model="certification"
:label="__('Certification')"
:description="__('Only show batches that offer a certificate.')"
@change="updateBatches()"
/>
<Tooltip :text="__('Only show batches that offer a certificate')">
<FormControl
type="checkbox"
v-model="certification"
:label="__('Certification')"
@change="updateBatches()"
/>
</Tooltip>
</div>
</div>
<div
@@ -123,7 +124,7 @@ import {
Dropdown,
FormControl,
Select,
Switch,
Tooltip,
TabButtons,
usePageMeta,
} from 'frappe-ui'
+1 -1
View File
@@ -77,7 +77,7 @@
</div>
</div>
<Tooltip :text="__('Only show courses that offer a certificate.')">
<Tooltip :text="__('Only show courses that offer a certificate')">
<FormControl
type="checkbox"
v-model="certification"