open-nomad/ui/app/controllers/clients/client.js
2023-04-10 15:36:59 +00:00

21 lines
400 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Controller from '@ember/controller';
export default class ClientsClientController extends Controller {
get client() {
return this.model;
}
get breadcrumb() {
return {
title: 'Client',
label: this.client.get('shortId'),
args: ['clients.client', this.client.get('id')],
};
}
}