{appNotification.component || appNotification.text}
- {showTraceId && Trace ID: {appNotification.traceId}}
+ {appNotification.traceId && Trace ID: {appNotification.traceId}}
);
diff --git a/public/app/core/components/AppNotifications/StoredNotificationItem.tsx b/public/app/core/components/AppNotifications/StoredNotificationItem.tsx
index 4817cdab242..3fa7325e27c 100644
--- a/public/app/core/components/AppNotifications/StoredNotificationItem.tsx
+++ b/public/app/core/components/AppNotifications/StoredNotificationItem.tsx
@@ -3,7 +3,6 @@ import { formatDistanceToNow } from 'date-fns';
import React, { ReactNode } from 'react';
import { GrafanaTheme2 } from '@grafana/data';
-import { config } from '@grafana/runtime';
import { Card, Checkbox, useTheme2 } from '@grafana/ui';
export type AlertVariant = 'success' | 'warning' | 'error' | 'info';
@@ -31,7 +30,6 @@ export const StoredNotificationItem = ({
}: Props) => {
const theme = useTheme2();
const styles = getStyles(theme);
- const showTraceId = config.featureToggles.tracing && traceId;
return (