mirror of
https://github.com/frappe/lms.git
synced 2026-05-02 13:39:31 +03:00
fix: make conferencing provider optional during batch creation
The conferencing_provider Select field defaulted to "Zoom" (first option) when not explicitly set, causing batch creation to fail with "Please select a Zoom account for this batch" since no zoom_account is provided at creation time.
This commit is contained in:
@@ -483,6 +483,10 @@ const trashBatch = (close) => {
|
||||
|
||||
const conferencingOptions = computed(() => {
|
||||
return [
|
||||
{
|
||||
label: '',
|
||||
value: '',
|
||||
},
|
||||
{
|
||||
label: 'Zoom',
|
||||
value: 'Zoom',
|
||||
|
||||
@@ -366,7 +366,7 @@
|
||||
"fieldname": "conferencing_provider",
|
||||
"fieldtype": "Select",
|
||||
"label": "Conferencing Provider",
|
||||
"options": "Zoom\nGoogle Meet"
|
||||
"options": "\nZoom\nGoogle Meet"
|
||||
},
|
||||
{
|
||||
"depends_on": "eval:doc.conferencing_provider=='Zoom'",
|
||||
|
||||
Reference in New Issue
Block a user