diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-05-27 08:05:51 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2022-05-27 08:05:51 -0500 |
| commit | adcc26ed221085f0cabd827fbd6b06a85fdef12d (patch) | |
| tree | 313024ccbac82dbc79a87b5d9dcfa2b7333045ff | |
| parent | 46a33d3974bfeb3cfa0a5bb68e7278ff9fe2db8f (diff) | |
| download | slskd-adcc26ed221085f0cabd827fbd6b06a85fdef12d.tar.gz | |
hide banner before loaded
| -rw-r--r-- | src/web/src/components/System/Options/EditModal.js | 9 |
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 |
