mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-04-29 20:15:13 +00:00
skip blured paper component when in systemMonitor
This commit is contained in:
@@ -896,10 +896,12 @@ const ApplicationSettings = () => {
|
||||
);
|
||||
};
|
||||
|
||||
return (
|
||||
return restarting ? (
|
||||
<SystemMonitor />
|
||||
) : (
|
||||
<SectionContent>
|
||||
{blocker ? <BlockNavigation blocker={blocker} /> : null}
|
||||
{restarting ? <SystemMonitor /> : content()}
|
||||
{content()}
|
||||
</SectionContent>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -182,7 +182,7 @@ const Settings = () => {
|
||||
restarting
|
||||
]);
|
||||
|
||||
return <SectionContent>{restarting ? <SystemMonitor /> : content}</SectionContent>;
|
||||
return restarting ? <SystemMonitor /> : <SectionContent>{content}</SectionContent>;
|
||||
};
|
||||
|
||||
export default Settings;
|
||||
|
||||
@@ -397,10 +397,12 @@ const NetworkSettings = () => {
|
||||
);
|
||||
};
|
||||
|
||||
return (
|
||||
return restarting ? (
|
||||
<SystemMonitor />
|
||||
) : (
|
||||
<SectionContent>
|
||||
{blocker ? <BlockNavigation blocker={blocker} /> : null}
|
||||
{restarting ? <SystemMonitor /> : content()}
|
||||
{content()}
|
||||
</SectionContent>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user