2020-11-04 18:22:24 +00:00
|
|
|
import Controller from '@ember/controller';
|
|
|
|
import { inject as controller } from '@ember/controller';
|
|
|
|
|
|
|
|
export default class OptimizeSummaryController extends Controller {
|
|
|
|
@controller('optimize') optimizeController;
|
|
|
|
|
|
|
|
queryParams = [
|
|
|
|
{
|
|
|
|
jobNamespace: 'namespace',
|
|
|
|
},
|
|
|
|
];
|
2021-11-30 20:10:01 +00:00
|
|
|
|
2021-12-17 16:29:36 +00:00
|
|
|
get summary() {
|
|
|
|
return this.model;
|
|
|
|
}
|
2021-11-30 20:10:01 +00:00
|
|
|
|
2021-12-17 16:29:36 +00:00
|
|
|
get breadcrumb() {
|
|
|
|
const { slug } = this.summary;
|
|
|
|
return {
|
|
|
|
label: slug.replace('/', ' / '),
|
|
|
|
args: ['optimize.summary', slug],
|
|
|
|
};
|
2021-11-30 20:10:01 +00:00
|
|
|
}
|
2020-11-04 18:22:24 +00:00
|
|
|
}
|