tg delete confirm fix
This commit is contained in:
@@ -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()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user