Import
{feeds.length > 0 && (
diff --git a/ui/src/pages/Mappings.jsx b/ui/src/pages/Mappings.jsx
index c6c2cc6..5a4ad78 100644
--- a/ui/src/pages/Mappings.jsx
+++ b/ui/src/pages/Mappings.jsx
@@ -354,7 +354,7 @@ export default function Mappings({ source, onNeedsReprocess }) {
}
}
- if (!source) return
Select a source first.
+ if (!source) return
Select a source first.
const displayRows = sortedRows(filteredRows)
diff --git a/ui/src/pages/Pivot.jsx b/ui/src/pages/Pivot.jsx
index 5bc7fa9..112b3e2 100644
--- a/ui/src/pages/Pivot.jsx
+++ b/ui/src/pages/Pivot.jsx
@@ -370,7 +370,7 @@ export default function Pivot({ source, selectedStack, setSelectedStack }) {
viewer.restore({ table: selectedView, settings: true, plugin_config: DEFAULT_PLUGIN_CONFIG })
}
- if (!source) return
Select a source first.
+ if (!source) return
Select a source first.
const cols = inspectedRows?.length ? Object.keys(inspectedRows[0]) : []
diff --git a/ui/src/pages/Records.jsx b/ui/src/pages/Records.jsx
index 4915e81..eb1daee 100644
--- a/ui/src/pages/Records.jsx
+++ b/ui/src/pages/Records.jsx
@@ -283,7 +283,7 @@ export default function Records({ source }) {
}
}
- if (!source) return
Select a source first.
+ if (!source) return
Select a source first.
const displayCols = gridCols(rows.length > 0 ? Object.keys(rows[0]) : cols)
const visCols = gridCols(cols)
diff --git a/ui/src/pages/Remap.jsx b/ui/src/pages/Remap.jsx
index 3e47f37..463c6d9 100644
--- a/ui/src/pages/Remap.jsx
+++ b/ui/src/pages/Remap.jsx
@@ -73,7 +73,7 @@ export default function Remap() {
}
return (
-
+
Remap Output Values
{/* Search */}
diff --git a/ui/src/pages/Rules.jsx b/ui/src/pages/Rules.jsx
index 8bb5a0a..f3eafc7 100644
--- a/ui/src/pages/Rules.jsx
+++ b/ui/src/pages/Rules.jsx
@@ -310,10 +310,10 @@ export default function Rules({ source, onStale }) {
}
}
- if (!source) return
Select a source first.
+ if (!source) return
Select a source first.
return (
-
+
Rules — {source}
+ if (!sourceObj) return
Source not found.
return (
-
+
{stats && (
{stats.total_records} total
diff --git a/ui/src/pages/SourceList.jsx b/ui/src/pages/SourceList.jsx
index 5b2d0f2..3c33e6a 100644
--- a/ui/src/pages/SourceList.jsx
+++ b/ui/src/pages/SourceList.jsx
@@ -124,7 +124,7 @@ export default function SourceList({ sources, setSources, setSource }) {
}
return (
-