mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-21 21:44:40 +03:00
fix: invalid watch callback
This commit is contained in:
1 parent
a3161e9afe
commit
461dabf362
3 files changed
+3
-3
No files matched your search
@@ -34,7 +34,7 @@ async function onUpload(file: File) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
watch(icalContent, (_, newValue) => {
|
watch(icalContent, (newValue) => {
|
||||||
if (newValue !== '') {
|
if (newValue !== '') {
|
||||||
fileInput.value = null;
|
fileInput.value = null;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ async function onUpload(file: File) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
watch(svgContent, (_, newValue) => {
|
watch(svgContent, (newValue) => {
|
||||||
if (newValue !== '') {
|
if (newValue !== '') {
|
||||||
fileInput.value = null;
|
fileInput.value = null;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ async function onUpload(file: File) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
watch(torrentContent, (_, newValue) => {
|
watch(torrentContent, (newValue) => {
|
||||||
if (newValue !== '') {
|
if (newValue !== '') {
|
||||||
fileInput.value = null;
|
fileInput.value = null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user