@@ -46,8 +46,8 @@ export default Route.extend({
4646 setupController ( controller , model ) {
4747 this . _super ( controller , model ) ;
4848
49- this . get ( ' captureTimelines' ) . setCurrent (
50- this . get ( ' captureTimelines' ) . deserializeFromQueryParam ( model . queryParams . metricTimelinesParam )
49+ this . captureTimelines . setCurrent (
50+ this . captureTimelines . deserializeFromQueryParam ( model . queryParams . metricTimelinesParam )
5151 ) ;
5252 } ,
5353
@@ -87,7 +87,7 @@ export default Route.extend({
8787 } ,
8888
8989 applyFilter ( filter ) {
90- this . get ( ' userTracking' ) . action ( this . get ( ' userTracking' ) . ACTIONS . INTERACTION , {
90+ this . userTracking . action ( this . userTracking . ACTIONS . INTERACTION , {
9191 name : 'apply sysdig filter' ,
9292 'is set' : isEmpty ( filter ) === false ,
9393 } ) ;
@@ -118,7 +118,7 @@ export default Route.extend({
118118 } ) ,
119119 } ) ;
120120 } else {
121- this . get ( ' userTracking' ) . action ( this . get ( ' userTracking' ) . ACTIONS . INTERACTION , {
121+ this . userTracking . action ( this . userTracking . ACTIONS . INTERACTION , {
122122 name : 'reset timeline selection' ,
123123 } ) ;
124124
@@ -134,8 +134,8 @@ export default Route.extend({
134134 toggleMetricTimeline ( metricName ) {
135135 this . replaceWith ( 'capture.views.view' , this . controller . get ( 'selectedViewId' ) , {
136136 queryParams : this . getCurrentQueryParams ( {
137- metricTimelinesParam : this . get ( ' captureTimelines' ) . serializeToQueryParam (
138- this . get ( ' captureTimelines' ) . toggle ( metricName )
137+ metricTimelinesParam : this . captureTimelines . serializeToQueryParam (
138+ this . captureTimelines . toggle ( metricName )
139139 ) ,
140140 } ) ,
141141 } ) ;
@@ -144,8 +144,8 @@ export default Route.extend({
144144 removeMetricTimeline ( metricName ) {
145145 this . replaceWith ( 'capture.views.view' , this . controller . get ( 'selectedViewId' ) , {
146146 queryParams : this . getCurrentQueryParams ( {
147- metricTimelinesParam : this . get ( ' captureTimelines' ) . serializeToQueryParam (
148- this . get ( ' captureTimelines' ) . remove ( metricName )
147+ metricTimelinesParam : this . captureTimelines . serializeToQueryParam (
148+ this . captureTimelines . remove ( metricName )
149149 ) ,
150150 } ) ,
151151 } ) ;
0 commit comments