Bugfix in simple detail display logic.

This commit is contained in:
Jonathan Bernard 2019-05-18 13:25:15 -05:00
parent 3c36164696
commit 98f9e84824

View File

@ -1,6 +1,6 @@
import { Component, Prop, Vue } from 'vue-property-decorator';
import { Measure, MeasureConfig, MeasureType, Measurement, MeasurementMeta } from '@/models';
import * as moment from 'moment';
import moment from 'moment';
import assign from 'lodash.assign';
import { library } from '@fortawesome/fontawesome-svg-core';
import { faPencilAlt } from '@fortawesome/free-solid-svg-icons';
@ -12,7 +12,7 @@ export class SimpleDetails extends Vue {
@Prop() private measure!: Measure<MeasureConfig>;
@Prop() private measurements!: Array<Measurement<MeasurementMeta>>;
private newMeasurement:
private newMeasurement;
private moment = moment;
private chartOptions = {
noData: { text: 'no data',