20ec481090
This continues iteration on the DAS UI by adding the ability to directly navigate to a recommendation summary by (namespaced) slug and a copy button for the direct navigation link. It includes a change to CopyButton allowing it to take a block that’s rendered within the button. It also changes some instances of multi-relationship traversal to use in-summary attributes, such as summary.jobNamespace instead of summary.job.namespace.name.
13 lines
289 B
JavaScript
13 lines
289 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',
|
|
},
|
|
];
|
|
}
|