open-nomad/ui/app/components/placement-failure.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
373 B
JavaScript
Raw Normal View History

import Component from '@ember/component';
import { or } from '@ember/object/computed';
import classic from 'ember-classic-decorator';
@classic
export default class PlacementFailure extends Component {
// Either provide a taskGroup or a failedTGAlloc
taskGroup = null;
failedTGAlloc = null;
@or('taskGroup.placementFailures', 'failedTGAlloc') placementFailures;
}