From 7108afee5d997717b9b98cb981107aa89bfcdab6 Mon Sep 17 00:00:00 2001 From: ThaiMing3 Date: Thu, 11 Jan 2024 09:57:37 +0800 Subject: [PATCH] Fix typecheck error --- frontend/pages/item/[id]/index/edit.vue | 2 +- frontend/pages/tools.vue | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/pages/item/[id]/index/edit.vue b/frontend/pages/item/[id]/index/edit.vue index 35518fe..0ccfac4 100644 --- a/frontend/pages/item/[id]/index/edit.vue +++ b/frontend/pages/item/[id]/index/edit.vue @@ -371,7 +371,7 @@ const parent = ref(); async function deleteItem() { - const confirmed = await confirm.open("Are you sure you want to delete this item?"); + const confirmed = await confirm.open("Delete Item", "Are you sure you want to delete this item?"); if (!confirmed.data) { return; diff --git a/frontend/pages/tools.vue b/frontend/pages/tools.vue index 4afd403..5a060ba 100644 --- a/frontend/pages/tools.vue +++ b/frontend/pages/tools.vue @@ -145,6 +145,7 @@ async function ensureImportRefs() { const { isCanceled } = await confirm.open( + "Ensure Import Refs", "Are you sure you want to ensure all assets have an import_ref? This can take a while and cannot be undone." ); @@ -164,6 +165,7 @@ async function resetItemDateTimes() { const { isCanceled } = await confirm.open( + "Reset All Date and Time Values", "Are you sure you want to reset all date and time values? This can take a while and cannot be undone." ); @@ -183,6 +185,7 @@ async function setPrimaryPhotos() { const { isCanceled } = await confirm.open( + "Set Primary Photos", "Are you sure you want to set primary photos? This can take a while and cannot be undone." );