fix unknownUrl value

This commit is contained in:
Hazelnoot 2025-05-19 18:50:13 -04:00
parent 3a3f8770d9
commit e167ddd72d

View file

@ -222,7 +222,7 @@ function refresh(withFetch = false) {
return res.json();
})
.then(async (info: SummalyResult & { haveNoteLocally?: boolean } | null) => {
unknownUrl.value = info != null;
unknownUrl.value = info == null;
title.value = info?.title ?? null;
description.value = info?.description ?? null;
thumbnail.value = info?.thumbnail ?? null;