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

Unified Diff: chrome/browser/resources/md_history/grouped_list.js

Issue 2570253002: [MD History] Fix toolbar dates in grouped mode. (Closed)
Patch Set: rebase Created 3 years, 11 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_history/grouped_list.js
diff --git a/chrome/browser/resources/md_history/grouped_list.js b/chrome/browser/resources/md_history/grouped_list.js
index a867d17f1815ebe5ed9895cedaa3240bfb1d23ca..f1664bf8b7d4fe2db21da86a6cd9d8d188f74117 100644
--- a/chrome/browser/resources/md_history/grouped_list.js
+++ b/chrome/browser/resources/md_history/grouped_list.js
@@ -35,9 +35,7 @@ Polymer({
// An array of history entries in reverse chronological order.
historyData: Array,
- queryStartTime: String,
-
- queryEndTime: String,
+ queryInterval: String,
range: Number,
},
@@ -125,7 +123,7 @@ Polymer({
} else if (this.range == HistoryRange.MONTH) {
// Group each all visits into a single list.
this.groupedHistoryData_ = [{
- title: this.queryStartTime + ' – ' + this.queryEndTime,
+ title: this.queryInterval,
domains: this.createHistoryDomains_(this.historyData)
}];
}
« no previous file with comments | « chrome/browser/resources/md_history/compiled_resources2.gyp ('k') | chrome/browser/resources/md_history/history_toolbar.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698