mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-26 19:06:11 +01:00
Fix error when saving the config unsuccessfully (#4780)
This commit is contained in:
parent
f3e0ced1cd
commit
6e519e0071
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user