Commit 57877662 authored by ioedeveloper's avatar ioedeveloper

Removed unused emit

parent 81a75dc0
......@@ -167,6 +167,12 @@ module.exports = {
.execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextCreate"]')['value'] = 'workspace_new' })
.waitForElementVisible('*[data-id="fileSystem-modal-footer-ok-react"]')
.click('*[data-id="fileSystem-modal-footer-ok-react"]')
.getLog('browser', function (logEntriesArray) {
console.log('Log length: ' + logEntriesArray.length)
logEntriesArray.forEach(function (log) {
console.log('[' + log.level + '] ' + log.timestamp + ' : ' + log.message)
})
})
.waitForElementPresent('*[data-id="workspacesSelect"] option[value="workspace_new"]')
// end of creating
.clickLaunchIcon('solidityUnitTesting')
......
......@@ -185,7 +185,6 @@ export const renameWorkspaceFromProvider = async (oldName: string, workspaceName
const workspacesPath = workspaceProvider.workspacesPath
browserProvider.rename('browser/' + workspacesPath + '/' + oldName, 'browser/' + workspacesPath + '/' + workspaceName, true)
workspaceProvider.setWorkspace(workspaceName)
plugin.emit('renameWorkspace', { name: workspaceName })
plugin.setWorkspaces(await getWorkspaces())
}
......
......@@ -450,7 +450,8 @@ export const browserReducer = (state = browserInitialState, action: Action) => {
browser: {
...state.browser,
currentWorkspace: payload.workspaceName,
workspaces: [...workspaces, payload.workspaceName]
workspaces: [...workspaces, payload.workspaceName],
expandPath: []
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment