update: add comment to explain loading namespaces in alloc route
This commit is contained in:
parent
edb330e701
commit
c302f3a5cd
|
@ -20,7 +20,7 @@ export default class AllocationRoute extends Route.extend(WithWatchers) {
|
||||||
.then(allocation =>
|
.then(allocation =>
|
||||||
allocation
|
allocation
|
||||||
.get('job')
|
.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)
|
.then(() => allocation)
|
||||||
)
|
)
|
||||||
.catch(notifyError(this));
|
.catch(notifyError(this));
|
||||||
|
|
Loading…
Reference in a new issue