show spinner when loading dashboards

This commit is contained in:
2023-03-01 19:05:10 +01:00
parent 71410801dc
commit d9daf561bf
2 changed files with 10 additions and 4 deletions

View File

@@ -62,7 +62,6 @@ public class DashboardController {
produces = MediaType.APPLICATION_JSON_VALUE)
@ResponseBody
public DashboardList getDashboards() throws IOException {
final List<Dashboard> dashboards = new ArrayList<>(Files.list(baseDir)//
.filter(p -> p.getFileName().toString().endsWith(".json"))//
.map(FileUtils::readSilent)//