Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Restore prettier formatting broken by table gesture commits

rcourtman67a54864c341
diff --git a/frontend-modern/src/components/Infrastructure/__tests__/MaintenanceVerificationSection.test.ts b/frontend-modern/src/components/Infrastructure/__tests__/MaintenanceVerificationSection.test.ts
index 504d35de41..ed343b02f0 100644
--- a/frontend-modern/src/components/Infrastructure/__tests__/MaintenanceVerificationSection.test.ts
+++ b/frontend-modern/src/components/Infrastructure/__tests__/MaintenanceVerificationSection.test.ts
@@ -7,10 +7,7 @@ const sectionSource = readFileSync(
'utf-8',
);
-const drawerSource = readFileSync(
- resolve(__dirname, '..', 'ResourceDetailDrawer.tsx'),
- 'utf-8',
-);
+const drawerSource = readFileSync(resolve(__dirname, '..', 'ResourceDetailDrawer.tsx'), 'utf-8');
const apiClientSource = readFileSync(
resolve(__dirname, '..', '..', '..', 'api', 'maintenanceVerification.ts'),
diff --git a/frontend-modern/src/components/Settings/RelayPairingSection.tsx b/frontend-modern/src/components/Settings/RelayPairingSection.tsx
index 74b7e75537..dc90921bd9 100644
--- a/frontend-modern/src/components/Settings/RelayPairingSection.tsx
+++ b/frontend-modern/src/components/Settings/RelayPairingSection.tsx
@@ -68,10 +68,7 @@ export const RelayPairingSection: Component<RelayPairingSectionProps> = (props)
<p class={formHelpText}>
Generate a QR code to securely link the Pulse Mobile app on your phone to this Pulse
instance. {RELAY_PAIRING_APP_AVAILABILITY_TEXT}{' '}
- <ExternalTextLink
- href={PULSE_PRO_DOWNLOAD_URL}
- class="font-medium"
- >
+ <ExternalTextLink href={PULSE_PRO_DOWNLOAD_URL} class="font-medium">
{RELAY_PAIRING_APP_DOWNLOAD_LINK_LABEL}
</ExternalTextLink>
.
diff --git a/frontend-modern/src/features/truenas/__tests__/TrueNASServicesTable.test.tsx b/frontend-modern/src/features/truenas/__tests__/TrueNASServicesTable.test.tsx
index 8a38d4f7ed..e5890ed0ad 100644
--- a/frontend-modern/src/features/truenas/__tests__/TrueNASServicesTable.test.tsx
+++ b/frontend-modern/src/features/truenas/__tests__/TrueNASServicesTable.test.tsx
@@ -58,9 +58,7 @@ describe('TrueNASServicesTable', () => {
expect(detail.getByText('2418, 2420')).toBeInTheDocument();
expect(detail.getByText('TrueNAS-SCALE-24.10.2')).toBeInTheDocument();
- await fireEvent.click(
- detail.getByRole('button', { name: `Collapse ${rows[0].id} details` }),
- );
+ await fireEvent.click(detail.getByRole('button', { name: `Collapse ${rows[0].id} details` }));
expect(screen.queryByTestId('truenas-service-detail')).not.toBeInTheDocument();
expect(row).toHaveAttribute('aria-expanded', 'false');