From a04ee619ac0366d82bc0a9efd428e8fd71813f8f Mon Sep 17 00:00:00 2001 From: Emanuel M Date: Sat, 14 Sep 2019 18:48:12 +0200 Subject: [PATCH] Fix some whitespace & fix starting the project locally --- package.json | 4 +- .../asset-detail/asset-detail.component.html | 86 +++++++++---------- .../asset-detail/asset-detail.component.ts | 2 +- 3 files changed, 46 insertions(+), 46 deletions(-) diff --git a/package.json b/package.json index 7162c49..16e7571 100644 --- a/package.json +++ b/package.json @@ -11,8 +11,8 @@ "ng": "ng", "preinstall": "npm install -g @angular/cli", "start": "ng serve --host localhost --port 5000", - "start:fake": "ng serve --env fake --host localhost --port 5000", - "start:local": "ng serve --env local --host localhost --port 5000", + "start:fake": "ng serve --configuration=fake --host localhost --port 5000", + "start:local": "ng serve --configuration=local --host localhost --port 5000", "test": "ng test --watch=false --code-coverage", "test:watch": "ng test --code-coverage" }, diff --git a/src/app/assets/containers/asset-detail/asset-detail.component.html b/src/app/assets/containers/asset-detail/asset-detail.component.html index 4f8468b..3f51017 100644 --- a/src/app/assets/containers/asset-detail/asset-detail.component.html +++ b/src/app/assets/containers/asset-detail/asset-detail.component.html @@ -100,49 +100,49 @@

Adauga proprietati

- - - - - - - + + + + + + + diff --git a/src/app/assets/containers/asset-detail/asset-detail.component.ts b/src/app/assets/containers/asset-detail/asset-detail.component.ts index fc064cc..723f04a 100644 --- a/src/app/assets/containers/asset-detail/asset-detail.component.ts +++ b/src/app/assets/containers/asset-detail/asset-detail.component.ts @@ -96,7 +96,7 @@ export class AssetDetailComponent implements OnInit { this.addresses$ = this.store.pipe(select(fromStore.getAllAddressesForAssetId(theId))); }); - // Initialize each asset property form as view + // Initialize each property state in view mode this.defendants$.subscribe(defendants => defendants .forEach(defendant => this.propertyStates[defendant.id] = AssetDetailState.View));