feat: add options to Scanner for Dialog

This commit is contained in:
Abhimanyu 2025-09-24 14:54:02 +05:30 committed by Ejaaz Khan
parent 95372df01a
commit 21e368aa4f

View file

@ -85,6 +85,9 @@ frappe.ui.Scanner = class Scanner {
on_hide: () => {
this.stop_scan();
},
minimizable: this.options.minimizable,
primary_action_label: this.options.primary_action_label,
primary_action: this.options.primary_action
});
return dialog;
}