mirror of
https://github.com/zadam/trilium.git
synced 2025-12-14 03:14:24 +01:00
chore(dialog): fix mandatory parameter
This commit is contained in:
parent
292cbf1383
commit
75a1fcc933
@ -38,7 +38,7 @@ export function closeActiveDialog() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async function info(message: MessageType, extraProps: InfoExtraProps) {
|
async function info(message: MessageType, extraProps?: InfoExtraProps) {
|
||||||
return new Promise((res) => appContext.triggerCommand("showInfoDialog", { ...extraProps, message, callback: res }));
|
return new Promise((res) => appContext.triggerCommand("showInfoDialog", { ...extraProps, message, callback: res }));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user