skip blured paper component when in systemMonitor

This commit is contained in:
proddy
2026-01-06 22:04:54 +01:00
parent 949172128f
commit e8fbbe5a1c
7 changed files with 17 additions and 11 deletions

View File

@@ -788,10 +788,12 @@ const Customizations = () => {
</>
);
return (
return restarting ? (
<SystemMonitor />
) : (
<SectionContent>
{blocker ? <BlockNavigation blocker={blocker} /> : null}
{restarting ? <SystemMonitor /> : renderContent()}
{renderContent()}
{selectedDeviceEntity && (
<SettingsCustomizationsDialog
open={dialogOpen}

View File

@@ -896,10 +896,12 @@ const ApplicationSettings = () => {
);
};
return (
return restarting ? (
<SystemMonitor />
) : (
<SectionContent>
{blocker ? <BlockNavigation blocker={blocker} /> : null}
{restarting ? <SystemMonitor /> : content()}
{content()}
</SectionContent>
);
};

View File

@@ -182,7 +182,7 @@ const Settings = () => {
restarting
]);
return <SectionContent>{restarting ? <SystemMonitor /> : content}</SectionContent>;
return restarting ? <SystemMonitor /> : <SectionContent>{content}</SectionContent>;
};
export default Settings;

View File

@@ -397,10 +397,12 @@ const NetworkSettings = () => {
);
};
return (
return restarting ? (
<SystemMonitor />
) : (
<SectionContent>
{blocker ? <BlockNavigation blocker={blocker} /> : null}
{restarting ? <SystemMonitor /> : content()}
{content()}
</SectionContent>
);
};

View File

@@ -443,7 +443,7 @@ const SystemStatus = () => {
renderRestartDialog
]);
return <SectionContent>{restarting ? <SystemMonitor /> : content}</SectionContent>;
return restarting ? <SystemMonitor /> : <SectionContent>{content}</SectionContent>;
};
export default SystemStatus;

View File

@@ -103,8 +103,8 @@ const SystemMonitor = () => {
height: '100vh',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
backdropFilter: 'blur(8px)'
justifyContent: 'center'
// backdropFilter: 'blur(8px)'
}}
>
<Box

View File

@@ -868,7 +868,7 @@ const Version = () => {
installPartitionFirmware
]);
return <SectionContent>{restarting ? <SystemMonitor /> : content}</SectionContent>;
return restarting ? <SystemMonitor /> : <SectionContent>{content}</SectionContent>;
};
export default memo(Version);