From 21c08b38f13d5ae8a039e1aab5bc5c52508f06b8 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Fri, 27 May 2022 01:12:46 -0500 Subject: set minimum height of editor, show loader while rescanning --- src/web/src/components/System/Info/index.js | 13 ++++++------- src/web/src/components/System/Options/DebugModal.js | 13 ++++++------- src/web/src/components/System/Options/EditModal.js | 1 + src/web/src/components/System/Options/index.js | 13 ++++++------- src/web/src/components/System/Shares/index.js | 3 ++- 5 files changed, 21 insertions(+), 22 deletions(-) (limited to 'src') diff --git a/src/web/src/components/System/Info/index.js b/src/web/src/components/System/Info/index.js index f640716e..d1b504e2 100644 --- a/src/web/src/components/System/Info/index.js +++ b/src/web/src/components/System/Info/index.js @@ -60,13 +60,12 @@ const Info = ({ state }) => { /> -
- -
+ ); }; diff --git a/src/web/src/components/System/Options/DebugModal.js b/src/web/src/components/System/Options/DebugModal.js index 2f01eb16..21514c57 100644 --- a/src/web/src/components/System/Options/DebugModal.js +++ b/src/web/src/components/System/Options/DebugModal.js @@ -47,13 +47,12 @@ const DebugModal = ({ open, onClose }) => { } > -
- -
+
diff --git a/src/web/src/components/System/Options/EditModal.js b/src/web/src/components/System/Options/EditModal.js index b02cbf99..cfcbd3b6 100644 --- a/src/web/src/components/System/Options/EditModal.js +++ b/src/web/src/components/System/Options/EditModal.js @@ -80,6 +80,7 @@ const EditModal = ({ open, onClose }) => { {...{ className: (yamlError || updateError) ? 'edit-code-container-error' : 'edit-code-container' }} > update(value)} /> diff --git a/src/web/src/components/System/Options/index.js b/src/web/src/components/System/Options/index.js index 894199e9..afc1f545 100644 --- a/src/web/src/components/System/Options/index.js +++ b/src/web/src/components/System/Options/index.js @@ -54,13 +54,12 @@ const Index = ({ options }) => { -
- -
+ setDebugModal(false)} diff --git a/src/web/src/components/System/Shares/index.js b/src/web/src/components/System/Shares/index.js index ff054a97..6ede4cbc 100644 --- a/src/web/src/components/System/Shares/index.js +++ b/src/web/src/components/System/Shares/index.js @@ -88,7 +88,7 @@ const Index = ({ state }) => { } + filling={(loading || filling) && } > @@ -134,6 +134,7 @@ const Index = ({ state }) => { {modal.localPath}