open-nomad/ui/app/controllers/clients/client.js

16 lines
322 B
JavaScript
Raw Normal View History

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')],
};
}
}