mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-02 07:40:28 +00:00
Fix typecheck error
This commit is contained in:
parent
ba120b4707
commit
7108afee5d
2 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -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."
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue