mirror of https://github.com/status-im/consul.git
ui: Remove random undefined from codemod run (#9370)
This commit is contained in:
parent
7ea383fce6
commit
21e5a8f0f3
|
@ -82,7 +82,6 @@ export default class DcRoute extends Route {
|
||||||
// https://deprecations.emberjs.com/v3.x/#toc_deprecate-router-events
|
// https://deprecations.emberjs.com/v3.x/#toc_deprecate-router-events
|
||||||
@action
|
@action
|
||||||
willTransition(transition) {
|
willTransition(transition) {
|
||||||
undefined;
|
|
||||||
if (
|
if (
|
||||||
typeof transition !== 'undefined' &&
|
typeof transition !== 'undefined' &&
|
||||||
(transition.from.name.endsWith('nspaces.create') ||
|
(transition.from.name.endsWith('nspaces.create') ||
|
||||||
|
|
Loading…
Reference in New Issue