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

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

Issue 2856023002: MD Settings: Internet: Fix IP config visibility (Closed)
Patch Set: Rebase Created 3 years, 8 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 2d056e69fa83b15876e72686ae3b35dbb5688948..695ba5065faaed0a09ab3c22f4c5c5cd6e31a7b9 100644
--- a/chrome/browser/resources/settings/internet_page/network_ip_config.js
+++ b/chrome/browser/resources/settings/internet_page/network_ip_config.js
@@ -42,12 +42,15 @@ Polymer({
/**
* The currently visible IP Config property dictionary. The 'RoutingPrefix'
* property is a human-readable mask instead of a prefix length.
- * @private {!{
+ * @private {?{
* ipv4: !CrOnc.IPConfigUIProperties,
* ipv6: !CrOnc.IPConfigUIProperties
- * }|undefined}
+ * }}
*/
- ipConfig_: Object,
+ ipConfig_: {
+ type: Object,
+ value: null,
+ },
/**
* Array of properties to pass to the property list.
@@ -171,7 +174,7 @@ Polymer({
* @private
*/
getIPEditFields_: function() {
- if (!this.editable || this.automatic__)
+ if (!this.editable || this.automatic_)
return {};
return {
'ipv4.IPAddress': 'String',

Powered by Google App Engine
This is Rietveld 408576698