tg delete confirm fix

This commit is contained in:
xds
2025-10-28 16:13:07 +03:00
parent 19ca34d318
commit 6ab7a490c9

View File

@@ -164,7 +164,7 @@ onMounted(async () => {
await fetchCategory() await fetchCategory()
toolbar.registerHandler('deleteCategory', () => { toolbar.registerHandler('deleteCategory', () => {
if (tgApp.initData) { if (tgApp.initData) {
tgApp.showConfirm(deleteAlertMessage, async (confirmed: boolean) => { tgApp.showConfirm(deleteAlertMessage.value, async (confirmed: boolean) => {
if (confirmed) { if (confirmed) {
await deleteCategory() await deleteCategory()
} }