mirror of
https://github.com/zadam/trilium.git
synced 2025-12-11 05:08:00 +08:00
chore(dialog): fix mandatory parameter
This commit is contained in:
parent
292cbf1383
commit
75a1fcc933
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue