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
|
|
|
|
|
|
|
get breadcrumbs() {
|
|
|
|
const model = this.model;
|
|
|
|
if (!model) return [];
|
|
|
|
|
|
|
|
return [
|
|
|
|
{
|
|
|
|
label: model.slug.replace('/', ' / '),
|
|
|
|
args: ['optimize.summary', model.slug],
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|
2020-11-04 18:22:24 +00:00
|
|
|
}
|