This commit is contained in:
lyc8503 committed 2025-11-04 23:53:24 +08:00
commit a1fa753450
1 file changed
+3 -3
+3 -3
View File
@@ -99,12 +99,12 @@ export default function OverallStatus({
{upcomingMaintenances.length > 0 && (
<>
<Title mt="4px" style={{ textAlign: 'center', color: '#70778c' }} order={5}>
{`${upcomingMaintenances.length} upcoming maintenances`}{' '}
{`${upcomingMaintenances.length} upcoming ${upcomingMaintenances.length === 1 ? 'maintenance' : 'maintenances'}`}{' '}
<span
style={{ textDecoration: 'underline' }}
style={{ textDecoration: 'underline', cursor: 'pointer' }}
onClick={() => setExpandUpcoming(!expandUpcoming)}
>
{expandUpcoming ? '[HIDE]' : '[SHOW]'}
{expandUpcoming ? '[Hide]' : '[Show]'}
</span>
</Title>