import Ember from 'ember';

const { Route, inject } = Ember;

export default Route.extend({
  store: inject.service(),

  afterModel(model) {
    if (model.get('isPartial')) {
      return model.reload().then(node => node.get('allocations'));
    }
    return model.get('allocations');
  },
});

@@ -19,16 +19,71 @@
 'ember';
+%0Aimport notifyError from 'nomad-ui/utils/notify-error';
 %0A%0Aconst 
@@ -168,16 +168,97 @@
 ice(),%0A%0A
+  model() %7B%0A    return this._super(...arguments).catch(notifyError(this));%0A  %7D,%0A%0A
   afterM
@@ -280,24 +280,33 @@
    if (model
+ && model
 .get('isPart
@@ -393,24 +393,33 @@
 %7D%0A    return
+ model &&
  model.get('

Handle 404s on nodes