ui: Remove random undefined from codemod run (#9370)
This commit is contained in:
parent
212c9fc684
commit
8d52d8a1d4
|
@ -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