From 4473bb90c5218ea64bc5e59984eb0ac04af40405 Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Wed, 8 Aug 2018 16:09:06 -0700 Subject: [PATCH] The application route doesn't need to fetch namespaces --- ui/app/routes/application.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/app/routes/application.js b/ui/app/routes/application.js index 02893d17c..2506f2dc2 100644 --- a/ui/app/routes/application.js +++ b/ui/app/routes/application.js @@ -2,7 +2,6 @@ import { inject as service } from '@ember/service'; import { next } from '@ember/runloop'; import Route from '@ember/routing/route'; import { AbortError } from 'ember-data/adapters/errors'; -import RSVP from 'rsvp'; export default Route.extend({ config: service(), @@ -26,7 +25,7 @@ export default Route.extend({ }, beforeModel(transition) { - return RSVP.all([this.get('system.regions'), this.get('system.namespaces')]).then(promises => { + return this.get('system.regions').then(promises => { const queryParam = transition.queryParams.region; const activeRegion = this.get('system.activeRegion');