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

Unified Diff: chrome/browser/resources/settings/site_settings/site_list.html

Issue 2117033002: Prevent Add Exception from showing on the All Sites list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git branch Created 4 years, 5 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/site_settings/site_list.html
diff --git a/chrome/browser/resources/settings/site_settings/site_list.html b/chrome/browser/resources/settings/site_settings/site_list.html
index 2bbd65e06b06a3f851f812206310e2b8f87a5f7f..8a94d00e0f40045e5070e804c355e137af5d9b71 100644
--- a/chrome/browser/resources/settings/site_settings/site_list.html
+++ b/chrome/browser/resources/settings/site_settings/site_list.html
@@ -82,11 +82,14 @@
</div>
</template>
- <div class="button-container">
- <paper-button on-tap="onAddSiteTap_" class="primary-button no-upper">
- $i18n{addSiteLink}
- </paper-button>
- </div>
+ <template is="dom-if" if="{{!allSites}}">
+ <div class="button-container">
+ <paper-button on-tap="onAddSiteTap_"
+ class="primary-button no-upper">
+ $i18n{addSiteLink}
+ </paper-button>
+ </div>
+ </template>
</div>
</paper-submenu>
</template>
« 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