Skip to content

Commit

Permalink
fix(core/pipeline): Change 'pipelines' state to redirect to the defau…
Browse files Browse the repository at this point in the history
…lt child 'executions'

... instead of having an abstract state
  • Loading branch information
christopherthielen committed Jul 3, 2019
1 parent 3c62118 commit 1f3882b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/scripts/modules/core/src/pipeline/pipeline.states.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { module } from 'angular';
import { Transition } from '@uirouter/core';

import { APPLICATION_STATE_PROVIDER, ApplicationStateProvider } from 'core/application/application.state.provider';
import { INestedState, StateConfigProvider } from 'core/navigation/state.provider';
Expand Down Expand Up @@ -84,7 +85,7 @@ module(PIPELINE_STATES, [APPLICATION_STATE_PROVIDER]).config([
const pipelines: INestedState = {
name: 'pipelines',
url: '/executions',
abstract: true,
redirectTo: (trans: Transition) => `${trans.to().name}.executions`,
views: {
insight: {
template: '<div ui-view="pipelines" sticky-headers class="flex-fill"></div>',
Expand Down

0 comments on commit 1f3882b

Please sign in to comment.