Skip to content

Commit 39dc87c

Browse files
github-actions[bot]Dr. Lint-a-lotdennisoelkers
authored
Running lint --fix & prettier (#26201)
Co-authored-by: Dr. Lint-a-lot <garybot2@graylog.com> Co-authored-by: Dennis Oelkers <dennis@graylog.com>
1 parent 446b330 commit 39dc87c

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

graylog2-web-interface/src/components/navigation/HealthStatusBadge.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ import { NAV_ITEM_HEIGHT } from 'theme/constants';
3131

3232
import InactiveNavItem from './InactiveNavItem';
3333

34-
3534
const STATUS_TO_BS_STYLE = {
3635
healthy: 'success',
3736
warning: 'warning',

graylog2-web-interface/src/components/notifications/SystemNotificationsTable/expandedSections.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@ const NotificationBody = ({ row }: { row: NotificationType }) => {
3333
if (isLoading) return <Spinner />;
3434
if (isError || !data) return <span>{FALLBACK_MESSAGE}</span>;
3535

36-
return <StyledPre><Sanitize html={data.description.trim()} /></StyledPre>;
36+
return (
37+
<StyledPre>
38+
<Sanitize html={data.description.trim()} />
39+
</StyledPre>
40+
);
3741
};
3842

3943
const expandedSections = {

graylog2-web-interface/src/components/notifications/systemOverviewTabs.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,12 @@ import Routes from 'routing/Routes';
1919

2020
const SYSTEM_OVERVIEW_TABS = [
2121
{ description: 'Overview', path: Routes.SYSTEM.OVERVIEW },
22-
{ description: 'Health', path: Routes.SYSTEM.HEALTH, permissions: 'notifications:read', BadgeComponent: NotificationsNavTab },
22+
{
23+
description: 'Health',
24+
path: Routes.SYSTEM.HEALTH,
25+
permissions: 'notifications:read',
26+
BadgeComponent: NotificationsNavTab,
27+
},
2328
];
2429

2530
export default SYSTEM_OVERVIEW_TABS;

0 commit comments

Comments
 (0)