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

Unified Diff: chrome/browser/resources/md_bookmarks/folder_node.html

Issue 2670473002: [MD Bookmarks] Implement adding folders and bookmarks from toolbar menu. (Closed)
Patch Set: Fix store to insert node instead of push and update tests. 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/md_bookmarks/folder_node.html
diff --git a/chrome/browser/resources/md_bookmarks/folder_node.html b/chrome/browser/resources/md_bookmarks/folder_node.html
index 6034e3ab969291890768fe9c5bebc68a3bea13e5..a5bf1d2b29e457ecf8e7e0a493ff287a6377aacd 100644
--- a/chrome/browser/resources/md_bookmarks/folder_node.html
+++ b/chrome/browser/resources/md_bookmarks/folder_node.html
@@ -68,7 +68,7 @@
<iron-icon icon="[[getFolderIcon_(isSelectedFolder)]]"></iron-icon>
<div class="menu-label">[[item.title]]</div>
</div>
- <template is="dom-if" if="[[hasChildFolder_(item.children)]]">
+ <template is="dom-if" if="[[hasChildFolder_(item.children.length)]]">
<paper-icon-button icon="[[getArrowIcon_(item.isOpen)]]"
on-tap="toggleFolder_"></paper-icon-button>
</template>

Powered by Google App Engine
This is Rietveld 408576698