mirror of
https://github.com/igorski/bitmappery.git
synced 2026-07-05 23:09:12 +02:00
Join instead of split on Array
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user