mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 09:25:46 +03:00
11 lines
293 B
JavaScript
11 lines
293 B
JavaScript
import Component from '@ember/component';
|
|
import { or } from '@ember/object/computed';
|
|
|
|
export default Component.extend({
|
|
// Either provide a taskGroup or a failedTGAlloc
|
|
taskGroup: null,
|
|
failedTGAlloc: null,
|
|
|
|
placementFailures: or('taskGroup.placementFailures', 'failedTGAlloc'),
|
|
});
|