From b88532b8432c6c49a52f0339fa83157518655eec Mon Sep 17 00:00:00 2001 From: Ryan Mathis Date: Tue, 4 May 2021 11:10:45 -0700 Subject: [PATCH] Fixed bugs from react-bootstrap --- ui/package.json | 2 +- ui/src/app/core/components/Header.js | 14 ++++---- ui/src/app/dashboard/component/Search.js | 4 +-- ui/src/app/dashboard/view/Dashboard.js | 2 +- .../component/properties/ArrayProperty.js | 34 ------------------ .../component/properties/ArrayValue.js | 33 ----------------- .../component/properties/PropertyValue.js | 16 ++++----- .../domain/source/component/SourceList.js | 35 ++++++++++++------- ui/src/theme/project/index.scss | 4 +++ 9 files changed, 43 insertions(+), 101 deletions(-) diff --git a/ui/package.json b/ui/package.json index bbedd86d0..4a45f715a 100644 --- a/ui/package.json +++ b/ui/package.json @@ -33,7 +33,7 @@ }, "scripts": { "start": "react-scripts start", - "build": "react-scripts build", + "build": "GENERATE_SOURCEMAP=true react-scripts build", "buildProd": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" diff --git a/ui/src/app/core/components/Header.js b/ui/src/app/core/components/Header.js index 820bdd4eb..55dff1927 100644 --- a/ui/src/app/core/components/Header.js +++ b/ui/src/app/core/components/Header.js @@ -17,7 +17,7 @@ export function Header () { const logoutLabel = useTranslation('action.logout'); return ( - + {brand.logo.alt} @@ -33,13 +33,11 @@ export function Header () { Separated link - - - - - Dashboard - - + + + + Dashboard + Logout diff --git a/ui/src/app/dashboard/component/Search.js b/ui/src/app/dashboard/component/Search.js index 18a951a28..745f816d0 100644 --- a/ui/src/app/dashboard/component/Search.js +++ b/ui/src/app/dashboard/component/Search.js @@ -34,13 +34,13 @@ export function Search ({ entities, searchable, children }) { <>
- Search + Search search(event.target.value) } value={query} /> - + diff --git a/ui/src/app/dashboard/view/Dashboard.js b/ui/src/app/dashboard/view/Dashboard.js index 981320c18..5294abaf5 100644 --- a/ui/src/app/dashboard/view/Dashboard.js +++ b/ui/src/app/dashboard/view/Dashboard.js @@ -58,7 +58,7 @@ export function Dashboard () { return (
-