prevent annoying screen jump when rendering

This commit is contained in:
proddy
2024-08-18 16:39:59 +02:00
parent 405e23561f
commit 87ee50708b

View File

@@ -306,7 +306,7 @@ const SystemStatus = () => {
);
const content = () => {
if (!data) {
if (!data || !LL) {
return <FormLoader onRetry={loadData} errorMessage={error?.message} />;
}
@@ -321,7 +321,7 @@ const SystemStatus = () => {
</ListItemAvatar>
<ListItemText
primary={LL.EMS_ESP_VER()}
secondary={data.emsesp_version}
secondary={'' + data.emsesp_version}
/>
{me.admin && (
<Button