open selection in free table editor

This commit is contained in:
Jan Prochazka
2020-10-29 10:59:50 +01:00
parent 3f14fec678
commit ce38f7da4c
4 changed files with 72 additions and 4 deletions

View File

@@ -44,7 +44,9 @@ export default function FreeDataTab({ archiveFolder, archiveFile, tabVisible, to
// @ts-ignore
dispatchModel({ type: 'reset', value });
} else if (initialData) {
handleLoadInitialData();
if (initialData.functionName) handleLoadInitialData();
// @ts-ignore
else dispatchModel({ type: 'reset', value: initialData });
}
}, []);