|  |  | @ -1514,7 +1514,6 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     onDocumentRemove (item) { |  |  |  |     onDocumentRemove (item) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       if (window.confirm(this.t('are_you_sure_'))) { |  |  |  |       if (window.confirm(this.t('are_you_sure_'))) { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.template.schema.splice(this.template.schema.indexOf(item), 1) |  |  |  |         this.template.schema.splice(this.template.schema.indexOf(item), 1) | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         const removedFieldUuids = [] |  |  |  |         const removedFieldUuids = [] | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -1532,6 +1531,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.template.fields.filter((f) => !removedFieldUuids.includes(f.uuid) || f.areas?.length) |  |  |  |           this.template.fields.filter((f) => !removedFieldUuids.includes(f.uuid) || f.areas?.length) | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.save() |  |  |  |         this.save() | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     onDocumentReplace (data) { |  |  |  |     onDocumentReplace (data) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       const { replaceSchemaItem, schema, documents } = data |  |  |  |       const { replaceSchemaItem, schema, documents } = data | 
			
		
	
	
		
		
			
				
					|  |  | 
 |