summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views/management/management.component.ts
diff options
context:
space:
mode:
authorChuyi Guo <guochuyi@chinamobile.com>2019-08-23 07:35:40 +0000
committerGerrit Code Review <gerrit@onap.org>2019-08-23 07:35:40 +0000
commitc12c0b1ef71d72a2af275b0bf7d8390c2e226e19 (patch)
tree407aa0aca84a943301ce536e01807e7b6f743e18 /usecaseui-portal/src/app/views/management/management.component.ts
parentb3a6a997080331333b046346cbb6f2050e4d86e1 (diff)
parent4e11ad92dbc929de190a6c211457bebc88636acd (diff)
Merge "refactor: change the position of animates.ts to utils"
Diffstat (limited to 'usecaseui-portal/src/app/views/management/management.component.ts')
-rw-r--r--usecaseui-portal/src/app/views/management/management.component.ts30
1 files changed, 15 insertions, 15 deletions
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;
}
}