From d61cdce4f9b116a76367d1dfb975a0f967e3b0bf Mon Sep 17 00:00:00 2001 From: ztimson Date: Tue, 9 Jul 2019 18:45:44 -0400 Subject: [PATCH] Added version back in --- src/app/map/map.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/map/map.component.ts b/src/app/map/map.component.ts index f9b47bc..04fc305 100644 --- a/src/app/map/map.component.ts +++ b/src/app/map/map.component.ts @@ -5,6 +5,7 @@ import {BreakpointObserver, Breakpoints} from "@angular/cdk/layout"; import {MatBottomSheet, MatSnackBar} from "@angular/material"; import {CalibtrateComponent} from "./calibrate/calibtrate.component"; import {Subject} from "rxjs"; +import {version} from "../../../package.json"; declare const google; @@ -22,6 +23,7 @@ export class MapComponent { position: any; remove = false; style: 'satellite' | 'terrain' | 'roadmap' | 'hybrid' = 'terrain'; + version = version; constructor(private bpObserver: BreakpointObserver, public physicsService: PhysicsService, private snackBar: MatSnackBar, private bottomSheet: MatBottomSheet) { bpObserver.observe([Breakpoints.Handset]).subscribe(results => this.mobile = results.matches);