mirror of
https://github.com/zadam/trilium.git
synced 2025-12-15 12:49:53 +01:00
chore(dialog): fix mandatory parameter
This commit is contained in:
@@ -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 }));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user