diff --git a/src/meshcore_hub/web/static/js/spa-react/pages/Dashboard.tsx b/src/meshcore_hub/web/static/js/spa-react/pages/Dashboard.tsx index b107e94..6edc257 100644 --- a/src/meshcore_hub/web/static/js/spa-react/pages/Dashboard.tsx +++ b/src/meshcore_hub/web/static/js/spa-react/pages/Dashboard.tsx @@ -563,7 +563,7 @@ export function DashboardPage() {
{showAdverts && (
@@ -604,12 +604,12 @@ export function DashboardPage() { to={`/nodes/${ad.public_key}`} className="link link-hover" > -
+
{displayName}
{friendlyName && ( -
+
{ad.public_key.slice(0, 12)}...
)} @@ -642,7 +642,7 @@ export function DashboardPage() { {showMessages && channelEntries.length > 0 && (
diff --git a/src/meshcore_hub/web/static/js/spa-react/pages/Routes.tsx b/src/meshcore_hub/web/static/js/spa-react/pages/Routes.tsx index 7098792..3bcfb40 100644 --- a/src/meshcore_hub/web/static/js/spa-react/pages/Routes.tsx +++ b/src/meshcore_hub/web/static/js/spa-react/pages/Routes.tsx @@ -466,12 +466,12 @@ function DetailContent({ return (
{history && ( -
+
{historyData.length > 0 && ( -
+
{historyData.map((d, i) => ( - + {i === historyData.length - 1 ? t("routes.last_n_hours", { n: route.window_hours }) : new Date(`${d.date}T00:00:00`).toLocaleDateString( @@ -487,7 +487,7 @@ function DetailContent({ {matches.length > 0 && (
{t("routes.recent_packets")} -
+
{matches.map((m, i) => (