Temporarily remove image loading from file menu as interface needs to be aligned

This commit is contained in:
Igor Zinken
2021-01-19 19:24:19 +01:00
parent 52bb7cd5d4
commit ec30c90769

View File

@@ -162,7 +162,8 @@ export default {
actions: {
async loadDocument({ commit }, file = null ) {
if ( !file ) {
const fileList = await selectFile( `${PROJECT_FILE_EXTENSION},${ACCEPTED_FILE_TYPES.join( "," )}`, false );
const fileList = await selectFile( PROJECT_FILE_EXTENSION, false );
// const fileList = await selectFile( `${PROJECT_FILE_EXTENSION},${ACCEPTED_FILE_TYPES.join( "," )}`, false );
if ( !fileList?.length ) {
return;
}