diff --git a/browser/resources/settings/brave_ipfs_page/p2p_keys_subpage.js b/browser/resources/settings/brave_ipfs_page/p2p_keys_subpage.js index 0af0db883df0..af8dbb6074a1 100644 --- a/browser/resources/settings/brave_ipfs_page/p2p_keys_subpage.js +++ b/browser/resources/settings/brave_ipfs_page/p2p_keys_subpage.js @@ -93,6 +93,7 @@ Polymer({ window.addEventListener('load', this.onLoad_.bind(this)); }, onLoad_: function() { + this.browserProxy_.notifyIpfsNodeStatus(); this.updateKeys(); }, notifyKeylist: function() { @@ -115,6 +116,7 @@ Polymer({ onServiceLaunched: function(success) { this.toggleUILayout(success) + this.localNodeMethod = success if (success) { this.updateKeys(); } @@ -128,12 +130,6 @@ Polymer({ }); }, - /*++++++ - * @override */ - ready: function() { - this.browserProxy_.notifyIpfsNodeStatus(); - }, - isDefaultKey_: function(name) { return name == 'self'; },