mirror of
				https://github.com/blakeblackshear/frigate.git
				synced 2025-10-27 10:52: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;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    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');
 | 
			
		||||
 | 
			
		||||
    let yamlModel;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user