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

This commit is contained in:
Leo Vasanko
2023-11-13 00:52:03 -08:00
parent c321de13fd
commit 06d860c601
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