mirror of https://github.com/status-im/consul.git
ui: Remove random undefined from codemod run (#9370)
This commit is contained in:
parent
0342af78ee
commit
977e5fafc0
|
@ -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