mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-05 01:42:54 +00:00
create file when routing with no selection
This commit is contained in:
@@ -193,7 +193,7 @@ export async function loadFile(file: File): Promise<GPXFile | null> {
|
||||
return result;
|
||||
}
|
||||
|
||||
function selectFileWhenLoaded(fileId: string) {
|
||||
export function selectFileWhenLoaded(fileId: string) {
|
||||
const unsubscribe = fileObservers.subscribe((files) => {
|
||||
if (files.has(fileId)) {
|
||||
tick().then(() => {
|
||||
|
Reference in New Issue
Block a user