From c302f3a5cd3aa0b80191dc4c9e73954ed52266f9 Mon Sep 17 00:00:00 2001 From: Jai Bhagat Date: Wed, 15 Dec 2021 12:37:10 -0500 Subject: [PATCH] update: add comment to explain loading namespaces in alloc route --- ui/app/routes/allocations/allocation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/routes/allocations/allocation.js b/ui/app/routes/allocations/allocation.js index a8a7b0962..bb5ce7bfc 100644 --- a/ui/app/routes/allocations/allocation.js +++ b/ui/app/routes/allocations/allocation.js @@ -20,7 +20,7 @@ export default class AllocationRoute extends Route.extend(WithWatchers) { .then(allocation => allocation .get('job') - .then(() => this.store.findAll('namespace')) + .then(() => this.store.findAll('namespace')) // namespaces belong to a job and are an asynchronous relationship so we can peak them later on .then(() => allocation) ) .catch(notifyError(this));