Only update time-ago modified field on current folder (optimization, full update was slow for large storages).
This commit is contained in:
@@ -53,9 +53,6 @@ export const useDocumentStore = defineStore({
|
||||
}
|
||||
this.document = docs as Document[]
|
||||
},
|
||||
updateModified() {
|
||||
for (const doc of this.document) doc.modified = formatUnixDate(doc.mtime)
|
||||
},
|
||||
login(username: string, privileged: boolean) {
|
||||
this.user.username = username
|
||||
this.user.privileged = privileged
|
||||
|
||||
Reference in New Issue
Block a user