mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-09-26 19:41:29 +08:00
Fix error when saving the config unsuccessfully (#4780)
This commit is contained in:
@@ -48,6 +48,11 @@ export default function Config() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (window.editor) {
|
||||||
|
// we don't need to recreate the editor if it already exists
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const modelUri = Uri.parse('a://b/api/config/schema.json');
|
const modelUri = Uri.parse('a://b/api/config/schema.json');
|
||||||
|
|
||||||
let yamlModel;
|
let yamlModel;
|
||||||
|
Reference in New Issue
Block a user