show 'Not connected' if storage information are not yet available (#3222)

* show 'Not connected' if storage information are not yet available

'One moment' is a bit misleading in case the device is offline
as it will take more than a moment until that will be updated :)

* update CHANGELOG
This commit is contained in:
bjoern
2022-04-16 18:35:25 +02:00
committed by GitHub
parent 330665afbe
commit a4d5c8cd2f
4 changed files with 17 additions and 10 deletions

View File

@@ -538,7 +538,7 @@ impl Context {
self.schedule_quota_update().await?;
}
} else {
ret += &format!("<li>{}</li>", stock_str::one_moment(self).await);
ret += &format!("<li>{}</li>", stock_str::not_connected(self).await);
self.schedule_quota_update().await?;
}
ret += "</ul>";