Fix typecheck error

This commit is contained in:
ThaiMing3 2024-01-11 09:57:37 +08:00
parent ba120b4707
commit 7108afee5d
2 changed files with 4 additions and 1 deletions

View file

@ -371,7 +371,7 @@
const parent = ref(); const parent = ref();
async function deleteItem() { 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) { if (!confirmed.data) {
return; return;

View file

@ -145,6 +145,7 @@
async function ensureImportRefs() { async function ensureImportRefs() {
const { isCanceled } = await confirm.open( 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." "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() { async function resetItemDateTimes() {
const { isCanceled } = await confirm.open( 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." "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() { async function setPrimaryPhotos() {
const { isCanceled } = await confirm.open( 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." "Are you sure you want to set primary photos? This can take a while and cannot be undone."
); );