fix unknownUrl value
This commit is contained in:
@@ -222,7 +222,7 @@ function refresh(withFetch = false) {
|
|||||||
return res.json();
|
return res.json();
|
||||||
})
|
})
|
||||||
.then(async (info: SummalyResult & { haveNoteLocally?: boolean } | null) => {
|
.then(async (info: SummalyResult & { haveNoteLocally?: boolean } | null) => {
|
||||||
unknownUrl.value = info != null;
|
unknownUrl.value = info == null;
|
||||||
title.value = info?.title ?? null;
|
title.value = info?.title ?? null;
|
||||||
description.value = info?.description ?? null;
|
description.value = info?.description ?? null;
|
||||||
thumbnail.value = info?.thumbnail ?? null;
|
thumbnail.value = info?.thumbnail ?? null;
|
||||||
|
|||||||
Reference in New Issue
Block a user