mirror of
				https://github.com/gpxstudio/gpx.studio.git
				synced 2025-11-04 05:21:09 +00:00 
			
		
		
		
	fix loading files without metadata
This commit is contained in:
		@@ -112,7 +112,7 @@ export class GPXFile extends GPXTreeNode<Track>{
 | 
			
		||||
        super();
 | 
			
		||||
        if (gpx) {
 | 
			
		||||
            this.attributes = gpx.attributes
 | 
			
		||||
            this.metadata = gpx.metadata;
 | 
			
		||||
            this.metadata = gpx.metadata ?? {};
 | 
			
		||||
            this.metadata.author = {
 | 
			
		||||
                name: 'gpx.studio',
 | 
			
		||||
                link: {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user