25 lines
495 B
JavaScript
25 lines
495 B
JavaScript
import Controller from '@ember/controller';
|
|
import { inject as controller } from '@ember/controller';
|
|
|
|
export default class OptimizeSummaryController extends Controller {
|
|
@controller('optimize') optimizeController;
|
|
|
|
queryParams = [
|
|
{
|
|
jobNamespace: 'namespace',
|
|
},
|
|
];
|
|
|
|
get summary() {
|
|
return this.model;
|
|
}
|
|
|
|
get breadcrumb() {
|
|
const { slug } = this.summary;
|
|
return {
|
|
label: slug.replace('/', ' / '),
|
|
args: ['optimize.summary', slug],
|
|
};
|
|
}
|
|
}
|