Unverified Commit ff766282 authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #2947 from ethereum/yann300-patch-9

canActivate accept ethdoc
parents c3edd392 864ed32b
......@@ -15,7 +15,7 @@ export function isNative (name) {
}
export function canActivate (name) {
return ['manager', 'debugger'].includes(name)
return ['manager', 'debugger', 'ethdoc'].includes(name)
}
export class RemixAppManager extends PluginManager {
......@@ -29,7 +29,7 @@ export class RemixAppManager extends PluginManager {
}
async canActivate (from, to) {
return true // canActivate(from.name)
return canActivate(from.name)
}
async canDeactivate (from, to) {
......
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