mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 15:22:54 +00:00 
			
		
		
		
	Fix file list disappearing from json after write command – webide.
This commit is contained in:
		@@ -75,6 +75,7 @@ class SourceCodeEventHandler(EventHandlerBase, SupervisorMixin):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    def write(self, data_json):
 | 
					    def write(self, data_json):
 | 
				
			||||||
        self.filemanager.file_contents = data_json['data']['content']
 | 
					        self.filemanager.file_contents = data_json['data']['content']
 | 
				
			||||||
 | 
					        data_json['data']['files'] = self.filemanager.files
 | 
				
			||||||
        self.restart_process()
 | 
					        self.restart_process()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def select(self, data_json):
 | 
					    def select(self, data_json):
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user