Changing server url was resetting other updated fields (#86)
* changing url was resetting other fields. Closes https://github.com/owncast/owncast/issues/854 * specify config path for various instanceDetails fields instead * fix react warning Co-authored-by: gingervitis <omqmail@gmail.com>
This commit is contained in:
@@ -124,13 +124,12 @@ export default function EditInstanceDetails() {
|
||||
Learn more
|
||||
</a>
|
||||
.
|
||||
{!yp.instanceUrl && (
|
||||
<div>
|
||||
<br />
|
||||
You must set your server URL above to enable the directory.
|
||||
</div>
|
||||
)}
|
||||
</p>
|
||||
{!yp.instanceUrl && (
|
||||
<p className="description">
|
||||
You must set your <strong>Server URL</strong> above to enable the directory.
|
||||
</p>
|
||||
)}
|
||||
|
||||
<div className="config-yp-container">
|
||||
<ToggleSwitch
|
||||
|
||||
Reference in New Issue
Block a user