fix(CRC Calculator): input text watcher was wrong

Fix #211
This commit is contained in:
ShareVB committed 2025-11-22 11:42:04 +01:00
1 parent c7d77e1b6b
commit a3161e9afe
1 file changed
+1 -5
+1 -5
View File
@@ -91,11 +91,7 @@ const CRCValues = computed(() => withDefaultOnError(() => {
}, defaultCRCValues));
watch(text,
(_, newValue) => {
if (newValue === '') {
return;
}
(newValue) => {
file.value = null;
hashes.value = getCRCs(newValue);
status.value = 'done';