| Index: ui/webui/resources/cr_elements/policy/cr_policy_network_indicator.js
|
| diff --git a/ui/webui/resources/cr_elements/policy/cr_policy_network_indicator.js b/ui/webui/resources/cr_elements/policy/cr_policy_network_indicator.js
|
| index 6d9d7fe2cac30d4fe43bdba56a700fa045aa14c6..1d806e33d39098bca3a6b7be7ef27c46b012e8ab 100644
|
| --- a/ui/webui/resources/cr_elements/policy/cr_policy_network_indicator.js
|
| +++ b/ui/webui/resources/cr_elements/policy/cr_policy_network_indicator.js
|
| @@ -17,7 +17,7 @@ Polymer({
|
| * Network property associated with the indicator.
|
| * @type {!CrOnc.ManagedProperty|undefined}
|
| */
|
| - property: {type: Object, observer: 'propertyChanged_'},
|
| + property: Object,
|
|
|
| /**
|
| * Recommended value for non enforced properties.
|
| @@ -28,15 +28,15 @@ Polymer({
|
| /** @override */
|
| indicatorTooltip: {
|
| type: String,
|
| - computed: 'getNetworkIndicatorTooltip_(indicatorType)',
|
| + computed: 'getNetworkIndicatorTooltip_(indicatorType, property.*)',
|
| },
|
| },
|
|
|
| - /**
|
| - * @param {!CrOnc.ManagedProperty} property Always defined property value.
|
| - * @private
|
| - */
|
| - propertyChanged_: function(property) {
|
| + observers: ['propertyChanged_(property.*)'],
|
| +
|
| + /** @private */
|
| + propertyChanged_: function() {
|
| + var property = this.property;
|
| if (!this.isControlled(property)) {
|
| this.indicatorType = CrPolicyIndicatorType.NONE;
|
| return;
|
|
|