diff --git a/web/default/src/features/keys/components/api-keys-cells.tsx b/web/default/src/features/keys/components/api-keys-cells.tsx
index a41b80ef51..6a72b6d3cc 100644
--- a/web/default/src/features/keys/components/api-keys-cells.tsx
+++ b/web/default/src/features/keys/components/api-keys-cells.tsx
@@ -85,16 +85,6 @@ export function ApiKeyCell({ apiKey }: { apiKey: ApiKey }) {
if (ok) markKeyCopied(apiKey.id)
}, [resolvedFullKey, resolveRealKey, apiKey.id, markKeyCopied])
- let copyIcon =
- let copyTooltip = t('Copy API key')
- if (isLoading) {
- copyIcon =
- copyTooltip = t('Loading...')
- } else if (isCopied) {
- copyIcon =
- copyTooltip = t('Copied!')
- }
-
return (
diff --git a/web/default/src/features/system-info/components/system-instances-panel.tsx b/web/default/src/features/system-info/components/system-instances-panel.tsx
index 99ffcff0df..e3f0d24304 100644
--- a/web/default/src/features/system-info/components/system-instances-panel.tsx
+++ b/web/default/src/features/system-info/components/system-instances-panel.tsx
@@ -503,6 +503,7 @@ export function SystemInstancesPanel() {
const staleInstances = instances.filter(
(instance) => instance.status === 'stale'
)
+ const hasStaleInstances = staleInstances.length > 0
const loading = instancesQuery.isLoading
const refreshing = instancesQuery.isFetching && !instancesQuery.isLoading
@@ -640,31 +641,31 @@ export function SystemInstancesPanel() {
seconds: INSTANCE_POLL_INTERVAL_MS / 1000,
})}
-
+ {hasStaleInstances ? (
+
+ ) : null}