From ea9d47ba7596b246dafdf4fee5fd104216c819c8 Mon Sep 17 00:00:00 2001 From: alecmerdler Date: Wed, 22 Feb 2017 16:33:34 -0800 Subject: [PATCH] ignore invalid linear workflow sections that are after the current section --- .../linear-workflow.component.html | 2 +- .../linear-workflow.component.spec.ts | 18 ++++++++++++++++-- .../linear-workflow.component.ts | 18 ++++++++++-------- .../manage-trigger-custom-git.component.html | 2 +- ...anage-trigger-custom-git.component.spec.ts | 14 ++++++++++++++ test/data/test.db | Bin 1314816 -> 1314816 bytes 6 files changed, 42 insertions(+), 12 deletions(-) diff --git a/static/js/directives/ui/linear-workflow/linear-workflow.component.html b/static/js/directives/ui/linear-workflow/linear-workflow.component.html index bbb0d3868..899dc4c2d 100644 --- a/static/js/directives/ui/linear-workflow/linear-workflow.component.html +++ b/static/js/directives/ui/linear-workflow/linear-workflow.component.html @@ -23,7 +23,7 @@
+ ng-if="$ctrl.currentSection.index < $ctrl.sections.length - 1"> Next: