Only update time-ago modified field on current folder (optimization, full update was slow for large storages).

This commit is contained in:
2023-11-13 16:52:03 +00:00
parent 7943d214e1
commit 2f6ddf1805
3 changed files with 8 additions and 6 deletions
-2
View File
@@ -44,8 +44,6 @@ watchEffect(() => {
onMounted(loadSession)
onMounted(watchConnect)
onUnmounted(watchDisconnect)
// Update human-readable x seconds ago messages from mtimes
setInterval(documentStore.updateModified, 1000)
const headerMain = ref<typeof HeaderMain | null>(null)
let vert = 0
let timer: any = null