feat: add options to Scanner for Dialog
This commit is contained in:
parent
95372df01a
commit
21e368aa4f
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue