Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2146)

Unified Diff: chrome/browser/resources/settings/internet_page/network_ip_config.js

Issue 2953113002: Settings: Network: Always show IP info and fix layout (Closed)
Patch Set: . Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/internet_page/network_ip_config.js
diff --git a/chrome/browser/resources/settings/internet_page/network_ip_config.js b/chrome/browser/resources/settings/internet_page/network_ip_config.js
index da9aefaf24d626e3ca3f0add32de31af9b3450f8..9cc5db2f6f421ed7b217bf6104e6ec40b90dbe71 100644
--- a/chrome/browser/resources/settings/internet_page/network_ip_config.js
+++ b/chrome/browser/resources/settings/internet_page/network_ip_config.js
@@ -166,7 +166,7 @@ Polymer({
* @private
*/
showIPEditFields_: function() {
- return this.editable && !this.automatic_;
+ return !!this.networkProperties.IPConfigs;
},
/**

Powered by Google App Engine
This is Rietveld 408576698