chore(react/collections/geomap): bring back context menu

This commit is contained in:
Elian Doran
2025-09-04 21:26:09 +03:00
parent dd654fcd8d
commit 189b7e20db
7 changed files with 34 additions and 36 deletions

View File

@@ -60,7 +60,7 @@ async function confirmDeleteNoteBoxWithNote(title: string) {
return new Promise<ConfirmDialogResult | undefined>((res) => appContext.triggerCommand("showConfirmDeleteNoteBoxWithNoteDialog", { title, callback: res }));
}
async function prompt(props: PromptDialogOptions) {
export async function prompt(props: PromptDialogOptions) {
return new Promise<string | null>((res) => appContext.triggerCommand("showPromptDialog", { ...props, callback: res }));
}