github.com/manicqin/nomad@v0.9.5/ui/app/components/placement-failure.js (about) 1 import Component from '@ember/component'; 2 import { or } from '@ember/object/computed'; 3 4 export default Component.extend({ 5 // Either provide a taskGroup or a failedTGAlloc 6 taskGroup: null, 7 failedTGAlloc: null, 8 9 placementFailures: or('taskGroup.placementFailures', 'failedTGAlloc'), 10 });