Skip to content

Commit

Permalink
update version and small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
klassare committed Jul 10, 2018
1 parent b979ed8 commit b71c050
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kukai",
"version": "0.1.0",
"version": "1.0.1",
"license": "MIT",
"scripts": {
"ng": "ng",
Expand Down
3 changes: 1 addition & 2 deletions src/app/pipes/delegator-name.pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,14 @@ export class DelegatorNamePipe implements PipeTransform {
['tz1L5GqtsKbasq9yD4hvtGC7VprPXDPmeb9V', 'Tezos Bakes']
]);
transform(pkh: string): any {
console.log('Get delegator name');
if (!pkh) {
return '';
}
const name = this.map.get(pkh);
if (name) {
return name;
} else {
return '';
return pkh;
}
}
}
2 changes: 1 addition & 1 deletion src/electron/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kukai",
"version": "1.0.0",
"version": "1.0.1",
"main": "main.js",
"scripts": {
"start": "electron ."
Expand Down

0 comments on commit b71c050

Please sign in to comment.