Commit 0ff5e41f authored by Mark Harding's avatar Mark Harding
Browse files

(fix): move service to component so it is destroyed - closes engine#945

parent 5f6d8f96
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -24,6 +24,7 @@ import isMobileOrTablet from '../../../helpers/is-mobile-or-tablet';
  selector: 'm-analytics__dashboard',
  selector: 'm-analytics__dashboard',
  templateUrl: './dashboard.component.html',
  templateUrl: './dashboard.component.html',
  changeDetection: ChangeDetectionStrategy.OnPush,
  changeDetection: ChangeDetectionStrategy.OnPush,
  providers: [AnalyticsDashboardService],
})
})
export class AnalyticsDashboardComponent implements OnInit, OnDestroy {
export class AnalyticsDashboardComponent implements OnInit, OnDestroy {
  isMobile: boolean;
  isMobile: boolean;