2
0
mirror of https://github.com/frappe/books.git synced 2024-09-20 11:29:00 +00:00

fix formatting

This commit is contained in:
Ankit Singhaniya 2021-08-18 12:31:05 +05:30 committed by 18alantom
parent aefd70b5e3
commit b11bb9527a

View File

@ -90,7 +90,11 @@ export async function connectToLocalDatabase(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);
const { response } = await remote.dialog.showMessageBox(
remote.getCurrentWindow(),