mirror of
https://github.com/TriliumNext/Trilium.git
synced 2025-12-10 03:53:37 -06: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 }));
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user