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> <SectionContent>
{blocker ? <BlockNavigation blocker={blocker} /> : null} {blocker ? <BlockNavigation blocker={blocker} /> : null}
{restarting ? <SystemMonitor /> : renderContent()} {renderContent()}
{selectedDeviceEntity && ( {selectedDeviceEntity && (
<SettingsCustomizationsDialog <SettingsCustomizationsDialog
open={dialogOpen} open={dialogOpen}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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