From 52bb7cd5d49cb42cefb12b04bd2cde0616b0e36e Mon Sep 17 00:00:00 2001 From: Igor Zinken Date: Tue, 19 Jan 2021 19:02:37 +0100 Subject: [PATCH] Join instead of split on Array --- src/store/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }