tg delete confirm fix
This commit is contained in:
@@ -164,7 +164,7 @@ onMounted(async () => {
|
||||
await fetchCategory()
|
||||
toolbar.registerHandler('deleteCategory', () => {
|
||||
if (tgApp.initData) {
|
||||
tgApp.showConfirm(deleteAlertMessage, async (confirmed: boolean) => {
|
||||
tgApp.showConfirm(deleteAlertMessage.value, async (confirmed: boolean) => {
|
||||
if (confirmed) {
|
||||
await deleteCategory()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user