diff --git a/package.json b/package.json
index 27b43c5..630f0fd 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "zgo",
- "version": "1.0.2",
+ "version": "1.0.3",
"scripts": {
"ng": "ng",
"start": "ng serve",
diff --git a/src/app/items/item-list/item-list.component.html b/src/app/items/item-list/item-list.component.html
index b496de6..cb1cd22 100644
--- a/src/app/items/item-list/item-list.component.html
+++ b/src/app/items/item-list/item-list.component.html
@@ -6,7 +6,8 @@
{{item.name}} |
{{item.cost | currency: getCurrency() }}
- {{(item.cost/price) | number: '1.0-6'}}
+ {{(item.cost/price) | number: '1.0-6'}}
+ ⓩ {{(item.cost/price)*100000000 | number: '1.0-0'}}
|
diff --git a/src/app/items/item-list/item-list.component.ts b/src/app/items/item-list/item-list.component.ts
index 97b9389..80eec30 100644
--- a/src/app/items/item-list/item-list.component.ts
+++ b/src/app/items/item-list/item-list.component.ts
@@ -20,7 +20,7 @@ import { ItemAddComponent } from '../item-add/item-add.component';
export class ItemListComponent implements OnInit{
public items: Item[] = [];
- private owner: Owner = {
+ owner: Owner = {
_id: '',
name: '',
address: '',
diff --git a/src/app/viewer/viewer.component.ts b/src/app/viewer/viewer.component.ts
index 65eaf34..39f2286 100644
--- a/src/app/viewer/viewer.component.ts
+++ b/src/app/viewer/viewer.component.ts
@@ -111,6 +111,7 @@ export class ViewerComponent implements OnInit {
//console.log('Saving settings', val);
this.userService.updateOwner(val);
this.fullnodeService.getPrice(val.currency);
+ this.loginCheck();
}
});
}