aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-05-27 08:05:51 -0500
committerJP Dillingham <jp@dillingham.me>2022-05-27 08:05:51 -0500
commitadcc26ed221085f0cabd827fbd6b06a85fdef12d (patch)
tree313024ccbac82dbc79a87b5d9dcfa2b7333045ff /src
parent46a33d3974bfeb3cfa0a5bb68e7278ff9fe2db8f (diff)
downloadslskd-adcc26ed221085f0cabd827fbd6b06a85fdef12d.tar.gz
hide banner before loaded
Diffstat (limited to 'src')
-rw-r--r--src/web/src/components/System/Options/EditModal.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/web/src/components/System/Options/EditModal.js b/src/web/src/components/System/Options/EditModal.js
index cfcbd3b6..d435bfd8 100644
--- a/src/web/src/components/System/Options/EditModal.js
+++ b/src/web/src/components/System/Options/EditModal.js
@@ -7,6 +7,7 @@ import { getYamlLocation, getYaml, validateYaml, updateYaml } from '../../../lib
import {
PlaceholderSegment,
Switch,
+ Div,
} from '../../Shared';
const EditModal = ({ open, onClose }) => {
@@ -67,9 +68,11 @@ const EditModal = ({ open, onClose }) => {
<Modal.Header>
<Icon name='edit'/>
Edit Options
- <Message className='no-grow edit-code-header' warning>
- <Icon name='warning sign'/>Editing {location}
- </Message>
+ <Div hidden={loading}>
+ <Message className='no-grow edit-code-header' warning>
+ <Icon name='warning sign'/>Editing {location}
+ </Message>
+ </Div>
</Modal.Header>
<Modal.Content className='edit-code-content' scrolling>
<Switch