Skip to content

Commit

Permalink
Merge pull request #11862 from brave/pr11789_uplift_1.34.x
Browse files Browse the repository at this point in the history
(uplift 1.34.x)  Update keys if opened by direct link  (#11789)
  • Loading branch information
kjozwiak authored Jan 17, 2022
2 parents 6f8f8fb + 1d11275 commit 335ad76
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 335ad76

Please sign in to comment.