From 4e11ad92dbc929de190a6c211457bebc88636acd Mon Sep 17 00:00:00 2001 From: cyuamber Date: Fri, 23 Aug 2019 11:05:42 +0800 Subject: refactor: change the position of animates.ts to utils Change-Id: I712d76b1b327e8803d55e90b7a153ad0e44a14c9 Issue-ID: USECASEUI-307 Signed-off-by: cyuamber --- .../app/views/management/management.component.ts | 30 +++++++++++----------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'usecaseui-portal/src/app/views/management') diff --git a/usecaseui-portal/src/app/views/management/management.component.ts b/usecaseui-portal/src/app/views/management/management.component.ts index 8b3afea7..8220a166 100644 --- a/usecaseui-portal/src/app/views/management/management.component.ts +++ b/usecaseui-portal/src/app/views/management/management.component.ts @@ -13,26 +13,26 @@ See the License for the specific language governing permissions and limitations under the License. */ -import { Component, OnInit , HostBinding} from '@angular/core'; -import { showHideAnimate, slideToRight } from '../../animates'; +import { Component, OnInit, HostBinding } from '@angular/core'; +import { showHideAnimate, slideToRight } from '../../shared/utils/animates'; import { ManagemencsService } from '../../core/services/managemencs.service'; @Component({ - selector: 'app-management', - templateUrl: './management.component.html', - styleUrls: ['./management.component.less'], - animations: [ - showHideAnimate, slideToRight - ] + selector: 'app-management', + templateUrl: './management.component.html', + styleUrls: ['./management.component.less'], + animations: [ + showHideAnimate, slideToRight + ] }) export class ManagementComponent implements OnInit { - @HostBinding('@routerAnimate') routerAnimateState; //Routing animation + @HostBinding('@routerAnimate') routerAnimateState; //Routing animation - constructor(private managemencs: ManagemencsService) { } + constructor(private managemencs: ManagemencsService) { } - ngOnInit() { - this.getAllCustomers(); - } + ngOnInit() { + this.getAllCustomers(); + } nocuster = true; firstCustomer = null; @@ -62,7 +62,7 @@ export class ManagementComponent implements OnInit { } }) } - clearCustomerInput(){ - this.firstCustomer=null; + clearCustomerInput() { + this.firstCustomer = null; } } -- cgit 1.2.3-korg