style: auto-fix lint and format

This commit is contained in:
ajnart authored and github-actions[bot] committed 2026-06-15 15:25:49 +00:00
1 parent df66cf25c7
commit 3d93ae1246
2 files changed
+9 -6

No files matched your search

@@ -39,13 +39,13 @@ export const WidgetBeszelSystemInput = ({ property, kind }: CommonWidgetInputPro
<Select
label={tInput("label")}
description={tInput("description")}
placeholder={isPending && t("loading") || t("placeholder")}
placeholder={(isPending && t("loading")) || t("placeholder")}
clearable
searchable
nothingFoundMessage={t("noSystems")}
data={systems}
disabled={isError}
error={isError && t("loadError") || undefined}
error={(isError && t("loadError")) || undefined}
{...form.getInputProps(`options.${property}`)}
/>
);
@@ -80,7 +80,10 @@ export default function BeszelSystemStatsWidget({
const { data: liveData, error: liveError } = useLiveStats(integrationIds, selectedSystem, isLive && systemReady);
let activeStats: { systemStats: BeszelSystemStatsRecord[]; containerStats: BeszelContainerStatsRecord[] } | null | undefined = statsResult;
let activeStats:
| { systemStats: BeszelSystemStatsRecord[]; containerStats: BeszelContainerStatsRecord[] }
| null
| undefined = statsResult;
if (isLive) {
activeStats = liveData;
}
@@ -208,7 +211,7 @@ export default function BeszelSystemStatsWidget({
<ScrollArea
h="100%"
className={classes.beszelStatsWrapper}
style={{ pointerEvents: isEditMode && "none" || undefined }}
style={{ pointerEvents: (isEditMode && "none") || undefined }}
>
<Stack gap="md" p="sm">
{!isEditMode && systems.length > 1 && (
@@ -237,8 +240,8 @@ export default function BeszelSystemStatsWidget({
<Menu.Item
key={s.value}
fz="xs"
fw={s.value === selectedSystem && 600 || 400}
c={s.value !== selectedSystem && "dimmed" || undefined}
fw={(s.value === selectedSystem && 600) || 400}
c={(s.value !== selectedSystem && "dimmed") || undefined}
onClick={() => handleSelectSystem(s.value)}
>
{s.label}