mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
fix formatting
This commit is contained in:
parent
aefd70b5e3
commit
b11bb9527a
@ -90,7 +90,11 @@ export async function connectToLocalDatabase(filepath) {
|
|||||||
config.set('lastSelectedFilePath', filepath);
|
config.set('lastSelectedFilePath', filepath);
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function showMessageDialog({ message, description, buttons = [] }) {
|
export async function showMessageDialog({
|
||||||
|
message,
|
||||||
|
description,
|
||||||
|
buttons = []
|
||||||
|
}) {
|
||||||
let buttonLabels = buttons.map(a => a.label);
|
let buttonLabels = buttons.map(a => a.label);
|
||||||
const { response } = await remote.dialog.showMessageBox(
|
const { response } = await remote.dialog.showMessageBox(
|
||||||
remote.getCurrentWindow(),
|
remote.getCurrentWindow(),
|
||||||
|
Loading…
Reference in New Issue
Block a user