fix: chord conflict shows "undefined"

This commit is contained in:
2024-04-26 17:12:59 +02:00
parent 0500a723de
commit 587375e654
6 changed files with 11 additions and 9 deletions

View File

@@ -5,6 +5,7 @@ export async function askForConfirmation(
message: string,
confirmTitle: string,
abortTitle: string,
actions: number[],
): Promise<boolean> {
const dialog = new ConfirmDialog({
target: document.body,
@@ -13,6 +14,7 @@ export async function askForConfirmation(
message,
confirmTitle,
abortTitle,
actions,
},
});