diff --git a/src/store/index.js b/src/store/index.js index 9def78d..de3fe60 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -162,7 +162,7 @@ export default { actions: { async loadDocument({ commit }, file = null ) { if ( !file ) { - const fileList = await selectFile( `${PROJECT_FILE_EXTENSION},${ACCEPTED_FILE_TYPES.split( "," )}`, false ); + const fileList = await selectFile( `${PROJECT_FILE_EXTENSION},${ACCEPTED_FILE_TYPES.join( "," )}`, false ); if ( !fileList?.length ) { return; }