Linter error on out of scope constant declaration

This commit is contained in:
Igor Zinken
2022-02-26 17:03:42 +01:00
parent c0be87ebb6
commit accf176a40

View File

@@ -326,8 +326,8 @@ export default {
});
},
async handleCreateFolderClick() {
const folder = this.newFolderName;
try {
const folder = this.newFolderName;
const result = await createFolder( this.leaf.path, folder );
if ( !result ) {
throw new Error();