Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #851 from swarmcity/sc-nightly
Browse files Browse the repository at this point in the history
Fix clipboard & hide reputation
  • Loading branch information
xardass authored Oct 20, 2018
2 parents d8b4b15 + 0c68e1f commit 41b0a40
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/data/socket-redux.html
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@

// Get a the current user's reputation balance
_getMyReputation() {
if (this.myReputation.request) {
if (this.myReputation && this.myReputation.request) {
this.socket.emit('getReputation', {
address: this.myReputation.request,
}, (reply) => {
Expand Down
2 changes: 1 addition & 1 deletion src/displays/display-show-keys.html
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@
this._fallbackCopyTextToClipboard(textToCopy);
return;
}
navigator.clipboard.writeText(this.text);
navigator.clipboard.writeText(textToCopy);
}
/**
* Toggles the visibility of the full Public Key
Expand Down
2 changes: 1 addition & 1 deletion src/pages/page-my-profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@
</div>
</div>
<div class="divider" id="divider1"></div>
<display-profile-reputation user-address="{{publicKey}}"></display-profile-reputation>
<!-- <display-profile-reputation user-address="{{publicKey}}"></display-profile-reputation> -->
<div class="divider" id="divider2"></div>
<div class="buttonbox" id="buttonBox">
<div class="backup" on-click="_backup">{{localize('backup this user')}}</div>
Expand Down
1 change: 1 addition & 0 deletions src/redux-state.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
shortCode: null,
toAddress: null,
toUserName: null,
myReputation: null,
amountToSend: 0,
confirmedTx: [],
shownTx: [],
Expand Down

0 comments on commit 41b0a40

Please sign in to comment.