2021-11-30 20:10:01 +00:00
|
|
|
import Controller from '@ember/controller';
|
|
|
|
|
|
|
|
export default class ClientsClientController extends Controller {
|
2021-12-08 19:26:25 +00:00
|
|
|
get breadcrumbs() {
|
2021-11-30 20:10:01 +00:00
|
|
|
const model = this.model;
|
|
|
|
if (!model) return [];
|
|
|
|
return [
|
|
|
|
{
|
2021-12-16 14:40:43 +00:00
|
|
|
title: 'Client',
|
2021-11-30 20:10:01 +00:00
|
|
|
label: model.get('shortId'),
|
|
|
|
args: ['clients.client', model.get('id')],
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|