mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-02 07:40:28 +00:00
ignore errored types
This commit is contained in:
parent
4e57feb7c0
commit
cb60f3d488
2 changed files with 3 additions and 1 deletions
|
@ -22,7 +22,7 @@
|
|||
get() {
|
||||
return state.value[nodeHash.value] ?? false;
|
||||
},
|
||||
set(value) {
|
||||
set(value: boolean) {
|
||||
state.value[nodeHash.value] = value;
|
||||
},
|
||||
});
|
||||
|
|
|
@ -366,11 +366,13 @@
|
|||
});
|
||||
|
||||
function openDialog(img: Photo) {
|
||||
// @ts-ignore - I don't know why this is happening
|
||||
refDialog.value?.showModal();
|
||||
dialoged.src = img.src;
|
||||
}
|
||||
|
||||
function closeDialog() {
|
||||
// @ts-ignore - I don't know why this is happening
|
||||
refDialog.value?.close();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue