mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
Remove unused action
This is a remnant of another approach I tried when rerouting /optimize when the filter excluded all summaries.
This commit is contained in:
@@ -182,15 +182,6 @@ export default class OptimizeController extends Controller {
|
||||
this.ensureActiveSummaryIsNotExcluded();
|
||||
}
|
||||
|
||||
@action
|
||||
transitionToFirstSummary() {
|
||||
const firstFilteredSummary = this.filteredSummaries.objectAt(0);
|
||||
|
||||
if (firstFilteredSummary) {
|
||||
this.transitionToSummary(firstFilteredSummary);
|
||||
}
|
||||
}
|
||||
|
||||
@action
|
||||
ensureActiveSummaryIsNotExcluded() {
|
||||
scheduleOnce('actions', () => {
|
||||
|
||||
Reference in New Issue
Block a user