summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/src/app')
-rw-r--r--usecaseui-portal/src/app/views/services/sotn-management/sotn-management.component.ts10
1 files changed, 6 insertions, 4 deletions
diff --git a/usecaseui-portal/src/app/views/services/sotn-management/sotn-management.component.ts b/usecaseui-portal/src/app/views/services/sotn-management/sotn-management.component.ts
index 84886f31..9038f05a 100644
--- a/usecaseui-portal/src/app/views/services/sotn-management/sotn-management.component.ts
+++ b/usecaseui-portal/src/app/views/services/sotn-management/sotn-management.component.ts
@@ -10,8 +10,7 @@ import { slideToRight } from '../../../shared/utils/animates';
export class SotnManagementComponent implements OnInit {
@HostBinding('@routerAnimate') routerAnimateState;
-
- currentTab = 'Order Service';
+ selectedIndex:number = 0;
constructor() { }
@@ -19,7 +18,10 @@ export class SotnManagementComponent implements OnInit {
}
handleTabChange($event): void {
- console.log($event,"$event");
- this.currentTab = $event.tab._title;
+ this.selectedIndex = $event.index;
+ }
+
+ changeTab() {
+ this.selectedIndex = 1;
}
}