From 0efaa39d45d500982a24701a50bb1d20b60a5048 Mon Sep 17 00:00:00 2001 From: Arkadiusz Wieczorek Date: Wed, 6 Jul 2022 19:03:15 +0200 Subject: [PATCH] UI minor fixes --- components/sidebar/stolen-data-cluster.tsx | 9 +++++++-- components/toolbar/toolbar.tsx | 8 ++------ options.tsx | 1 + 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/components/sidebar/stolen-data-cluster.tsx b/components/sidebar/stolen-data-cluster.tsx index 65d0e8d..2d1e4c0 100644 --- a/components/sidebar/stolen-data-cluster.tsx +++ b/components/sidebar/stolen-data-cluster.tsx @@ -137,13 +137,18 @@ export default function StolenDataCluster({ getMemory().emit('change', cluster.id); }} /> - + {cluster.id}
{fullHosts.map((host, index) => ( - + {host} {`${fullHosts.length - 1 !== index ? '· ' : ''}`} ))} diff --git a/components/toolbar/toolbar.tsx b/components/toolbar/toolbar.tsx index 9e09f1a..29e6642 100644 --- a/components/toolbar/toolbar.tsx +++ b/components/toolbar/toolbar.tsx @@ -135,15 +135,11 @@ const Toolbar = () => { Przejdź do wybranej strony internetowej )}
- {stolenDataView ? ( + {origin ? ( - ) : ( - - )} + ) : null}
diff --git a/options.tsx b/options.tsx index c5f7e05..deb465d 100644 --- a/options.tsx +++ b/options.tsx @@ -81,6 +81,7 @@ export default function Options({ { setMinValueLength(parseInt(e.target.value));