-
-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
3 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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']; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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); | ||
} | ||
} |