Add detailed disk usage view on click

This commit is contained in:
Johannes Zellner
2025-07-17 19:27:09 +02:00
parent 149af003d4
commit 585885e6a2
2 changed files with 136 additions and 71 deletions
+4
View File
@@ -50,6 +50,10 @@ function create() {
if (error || result.status !== 200) return [error || result];
return [null, result.body.filesystems];
},
async filesystemUsage(filesystem) {
const es = new EventSource(`${API_ORIGIN}/api/v1/system/filesystem_usage?access_token=${accessToken}&filesystem=${filesystem}`);
return [null, es];
},
async info() {
let error, result;
try {