Fixed disk usage refreshing
This commit is contained in:
parent
d1c84a8412
commit
00ccb496a6
@ -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…
Reference in New Issue
Block a user