diff --git a/UI b/UI
index 62a6bd4..18e72a6 160000
--- a/UI
+++ b/UI
@@ -1 +1 @@
-Subproject commit 62a6bd44d5740e3cb0ba0694d37c943147bea362
+Subproject commit 18e72a6e6316b45957b1d03b68075c74841cbc7d
diff --git a/service/app.go b/service/app.go
index 4ed9728..b08bcc8 100644
--- a/service/app.go
+++ b/service/app.go
@@ -464,7 +464,7 @@ func (a *appStruct) GetHardwareUsageSteam() {
fts := filters.NewArgs()
fts.Add("label", "casaos=casaos")
- fts.Add("status", "running")
+ //fts.Add("status", "running")
for i := 0; i < 100; i++ {
if config.CasaOSGlobalVariables.AppChange {
@@ -481,6 +481,10 @@ func (a *appStruct) GetHardwareUsageSteam() {
}
var wg sync.WaitGroup
for _, v := range containers {
+ if v.State != "running" {
+ dataStats.Delete(v.ID)
+ continue
+ }
wg.Add(1)
go func(v types.Container, i int) {
defer wg.Done()
diff --git a/web/index.html b/web/index.html
index fc39518..395f8b2 100644
--- a/web/index.html
+++ b/web/index.html
@@ -20,7 +20,7 @@
CasaOS
-
+