mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-03 00:00:27 +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();
|
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;
|
||||||
|
|
|
@ -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."
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue