mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-05-11 12:43:00 +00:00
fix: disk usage refreshing (#3692)
Co-authored-by: Oleg Lobanov <oleg@lobanov.me>
This commit is contained in:
parent
045064f8b8
commit
bbdd313705
@ -191,8 +191,13 @@ export default {
|
|||||||
logout: auth.logout,
|
logout: auth.logout,
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
isFiles(newValue) {
|
$route: {
|
||||||
newValue && this.fetchUsage();
|
handler(to) {
|
||||||
|
if (to.path.includes("/files")) {
|
||||||
|
this.fetchUsage();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
immediate: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user