diff --git a/app/assets/javascripts/admin/components/admin-nav-item.js.es6 b/app/assets/javascripts/admin/components/admin-nav-item.js.es6 index aa1d33844c3..f5acc94a139 100644 --- a/app/assets/javascripts/admin/components/admin-nav-item.js.es6 +++ b/app/assets/javascripts/admin/components/admin-nav-item.js.es6 @@ -7,6 +7,12 @@ export default Ember.Component.extend({ }.property(), active: function() { - return this.get('router').isActive(this.get('route')); + const route = this.get('route'); + if (!route) { return; } + + const routeParam = this.get('routeParam'), + router = this.get('router'); + + return routeParam ? router.isActive(route, routeParam) : router.isActive(route); }.property('router.url', 'route') }); diff --git a/app/assets/javascripts/admin/templates/backups.hbs b/app/assets/javascripts/admin/templates/backups.hbs index e700cff02ed..bcd14fadd60 100644 --- a/app/assets/javascripts/admin/templates/backups.hbs +++ b/app/assets/javascripts/admin/templates/backups.hbs @@ -1,18 +1,31 @@