fix empty job list in case a wait job was in the list
<md-table-cell>
<ib-duration :start="j.startDate" :end="j.endDate"></ib-duration>
</md-table-cell>
- <md-table-cell><div v-if="j.definition">{{ j.definition.resources.limits.cpu }} CPU</div></md-table-cell>
+ <md-table-cell><div v-if="j.definition && j.definition.resources">{{ j.definition.resources.limits.cpu }} CPU</div></md-table-cell>
<md-table-cell v-if="j.avgCpu"><div>{{ j.avgCpu }} CPU</div></md-table-cell>
<md-table-cell v-if="!j.avgCpu"><div>N/A</div></md-table-cell>
- <md-table-cell><div v-if="j.definition">{{ j.definition.resources.limits.memory }} MiB </div></md-table-cell>
+ <md-table-cell><div v-if="j.definition&& j.definition.resources">{{ j.definition.resources.limits.memory }} MiB </div></md-table-cell>
<md-table-cell v-if="j.definition && j.definition.cluster">{{ j.definition.cluster.name }}</md-table-cell>
<md-table-cell v-if="!j.definition || !j.definition.cluster"></md-table-cell>
<md-table-cell>{{ j.nodeName }}</md-table-cell>
