Fixed disk usage refreshing

pull/3692/head
elmodor 2025-01-23 17:44:40 +01:00
parent d1c84a8412
commit 00ccb496a6
1 changed files with 7 additions and 2 deletions

View File

@ -191,8 +191,13 @@ export default {
logout: auth.logout,
},
watch: {
isFiles(newValue) {
newValue && this.fetchUsage();
$route: {
handler(to) {
if (to.path.includes("/files")) {
this.fetchUsage();
}
},
immediate: true,
},
},
};