mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
18 lines
456 B
JavaScript
18 lines
456 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
// @ts-check
|
|
import Component from '@glimmer/component';
|
|
import { alias } from '@ember/object/computed';
|
|
|
|
export default class JobStatusIndividualAllocationComponent extends Component {
|
|
@alias('args.allocation.job.type') jobType;
|
|
@alias('args.allocation.node.name') nodeName;
|
|
|
|
get showClient() {
|
|
return this.jobType === 'system' || this.jobType === 'sysbatch';
|
|
}
|
|
}
|