From 2c65f5d3137f883e6927b76b7ced724fb6b44195 Mon Sep 17 00:00:00 2001 From: Noelle Daley Date: Mon, 22 Jul 2019 11:26:45 -0700 Subject: [PATCH] update selected item on httprequestsdropdown (#7164) --- ui/app/components/http-requests-dropdown.js | 2 +- ui/app/templates/components/http-requests-dropdown.hbs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/app/components/http-requests-dropdown.js b/ui/app/components/http-requests-dropdown.js index 7247c7296..edb2715d0 100644 --- a/ui/app/components/http-requests-dropdown.js +++ b/ui/app/components/http-requests-dropdown.js @@ -30,7 +30,7 @@ export default Component.extend({ const years = counters .map(counter => { const year = new Date(counter.start_time); - return year.getUTCFullYear(); + return year.getUTCFullYear().toString(); }) .uniq(); years.sort().reverse(); diff --git a/ui/app/templates/components/http-requests-dropdown.hbs b/ui/app/templates/components/http-requests-dropdown.hbs index 02b942080..97432a5a7 100644 --- a/ui/app/templates/components/http-requests-dropdown.hbs +++ b/ui/app/templates/components/http-requests-dropdown.hbs @@ -6,7 +6,7 @@ /> {{#each options as |op|}} - + {{/each}}