Added sync on reload

This commit is contained in:
2026-06-14 17:13:41 +02:00
parent 3671b90b81
commit 8e57e2f02a
3 changed files with 25 additions and 6 deletions
+2
View File
@@ -13,6 +13,7 @@ const {
nextArticle,
prevArticle,
fetchData,
sync,
getReadable,
setInitialLoad,
showMessageForXSeconds,
@@ -78,6 +79,7 @@ async function shareUrl(url) {
onMounted(async () => {
setInitialLoad(false)
await fetchData()
sync(true)
setTimeout(function () {
setInitialLoad(true)
console.log('set to true')