Skip to content

Commit

Permalink
Update keys if opened by direct link
Browse files Browse the repository at this point in the history
(cherry picked from commit 00dd77f)
  • Loading branch information
spylogsster committed Jan 15, 2022
1 parent 6f8f8fb commit 1d11275
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ Polymer({
window.addEventListener('load', this.onLoad_.bind(this));
},
onLoad_: function() {
this.browserProxy_.notifyIpfsNodeStatus();
this.updateKeys();
},
notifyKeylist: function() {
Expand All @@ -115,6 +116,7 @@ Polymer({

onServiceLaunched: function(success) {
this.toggleUILayout(success)
this.localNodeMethod = success
if (success) {
this.updateKeys();
}
Expand All @@ -128,12 +130,6 @@ Polymer({
});
},

/*++++++
* @override */
ready: function() {
this.browserProxy_.notifyIpfsNodeStatus();
},

isDefaultKey_: function(name) {
return name == 'self';
},
Expand Down

0 comments on commit 1d11275

Please sign in to comment.