Always reload all jobs

Ember tries to be clever by showing cached jobs instead of a loading spinner
in the event that a user starts on nodes, loads a couple jobs through
allocation relationships, then visits jobs.
This commit is contained in:
Michael Lange 2017-10-03 17:17:45 -07:00
parent 74fce03d4d
commit 0cc2c4267e

View file

@ -4,6 +4,8 @@ import ApplicationAdapter from './application';
const { RSVP } = Ember;
export default ApplicationAdapter.extend({
shouldReloadAll: () => true,
findRecord(store, { modelName }, id, snapshot) {
// To make a findRecord response reflect the findMany response, the JobSummary
// from /summary needs to be stitched into the response.