deactivatePluginsFromUrl

pull/5370/head
yann300 4 years ago
parent 9d6173e303
commit 5efe44725e
  1. 8
      apps/remix-ide/src/app.js

@ -405,6 +405,14 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
// Set workspace after initial activation
if (Array.isArray(workspace)) {
appManager.activatePlugin(workspace).then(() => {
try {
if (params.deactivateplugins) {
appManager.deactivatePlugin(params.deactivateplugins.split(','))
}
} catch (e) {
console.log(e)
}
// If plugins are loaded from the URL params, we focus on the last one.
if (pluginLoader.current === 'queryParams' && workspace.length > 0) menuicons.select(workspace[workspace.length - 1])

Loading…
Cancel
Save