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

Unified Diff: chrome/browser/resources/settings/device_page/device_page.html

Issue 2751873002: chromeos: Avoid NOTREACHED for MD settings power page. (Closed)
Patch Set: move no-search$ Created 3 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/device_page/device_page.html
diff --git a/chrome/browser/resources/settings/device_page/device_page.html b/chrome/browser/resources/settings/device_page/device_page.html
index da02e5f7945bc1bc6200216ba887f4c1fef66a69..d42961e46d7ef2b98fd882569d72af23376307af 100644
--- a/chrome/browser/resources/settings/device_page/device_page.html
+++ b/chrome/browser/resources/settings/device_page/device_page.html
@@ -102,10 +102,10 @@
<settings-storage></settings-storage>
</settings-subpage>
</template>
- <template is="dom-if" route-path="/power">
+ <template is="dom-if" route-path="/power"
+ no-search$="[[!enablePowerSettings_]]">
<settings-subpage
associated-control="[[$$('#powerRow')]]"
- no-search$="[[!enablePowerSettings_]]"
page-title="$i18n{powerTitle}">
<settings-power enable-power-settings="[[enablePowerSettings_]]">
</settings-power>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698