Fixed disk usage refreshing

This commit is contained in:
elmodor 2025-01-23 17:44:40 +01:00
parent d1c84a8412
commit 00ccb496a6

View File

@ -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,
}, },
}, },
}; };