diff --git a/app/controllers/events.js b/app/controllers/events.js index 1f953be9..d04378df 100644 --- a/app/controllers/events.js +++ b/app/controllers/events.js @@ -1,12 +1,7 @@ import { inject as service } from '@ember/service'; import Controller from '@ember/controller'; -import AnchorControllerSupport from 'ember-anchor/mixins/controller-support'; -export default class EventsController extends Controller.extend( - AnchorControllerSupport -) { +export default class EventsController extends Controller { @service filterData; - - queryParams = ['anchor']; } diff --git a/app/controllers/methods.js b/app/controllers/methods.js index 929a3b79..408cf282 100644 --- a/app/controllers/methods.js +++ b/app/controllers/methods.js @@ -1,20 +1,7 @@ import { inject as service } from '@ember/service'; import Controller from '@ember/controller'; -import AnchorControllerSupport from 'ember-anchor/mixins/controller-support'; -import { tracked } from '@glimmer/tracking'; -export default class MethodsController extends Controller.extend( - AnchorControllerSupport -) { +export default class MethodsController extends Controller { @service filterData; - - @tracked - anchor; - - queryParams = ['anchor']; - - updateAnchor(fieldName) { - this.anchor = fieldName; - } } diff --git a/app/controllers/properties.js b/app/controllers/properties.js index 0d4e5107..18c3e2df 100644 --- a/app/controllers/properties.js +++ b/app/controllers/properties.js @@ -1,19 +1,7 @@ -/* eslint-disable ember/classic-decorator-no-classic-methods */ -import { action } from '@ember/object'; import { inject as service } from '@ember/service'; import Controller from '@ember/controller'; -import AnchorControllerSupport from 'ember-anchor/mixins/controller-support'; -export default class PropertiesController extends Controller.extend( - AnchorControllerSupport -) { +export default class PropertiesController extends Controller { @service filterData; - - queryParams = ['anchor']; - - @action - updateAnchor(fieldName) { - this.set('anchor', fieldName); - } }