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

Unified Diff: chrome/browser/resources/settings/about_page/about_page.js

Issue 2698133003: MD Settings: About: Show connectionTypes message (Closed)
Patch Set: Created 3 years, 10 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/about_page/about_page.js
diff --git a/chrome/browser/resources/settings/about_page/about_page.js b/chrome/browser/resources/settings/about_page/about_page.js
index e19861d4fab15100e55c8c1690fe1f05d0a22336..76afa5c1a4cd54d88a5b29200c684781224a4ecf 100644
--- a/chrome/browser/resources/settings/about_page/about_page.js
+++ b/chrome/browser/resources/settings/about_page/about_page.js
@@ -62,6 +62,9 @@ Polymer({
// <if expr="chromeos">
/** @private */
+ showConnectionType_: Boolean,
+
+ /** @private */
showRelaunchAndPowerwash_: {
type: Boolean,
computed: 'computeShowRelaunchAndPowerwash_(' +
@@ -210,6 +213,8 @@ Polymer({
this.showUpdateStatus_ =
this.currentUpdateStatusEvent_.status != UpdateStatus.DISABLED &&
!this.obsoleteSystemInfo_.endOfLine;
+ this.showConnectionType_ = this.showUpdateStatus_ &&
+ !!this.currentUpdateStatusEvent_.connectionTypes;
},
/**

Powered by Google App Engine
This is Rietveld 408576698