Stopped graph showing with no data.
This commit is contained in:
parent
c8ddbcaabc
commit
ea54e27e6e
@ -45,8 +45,8 @@
|
||||
</b-col>
|
||||
</b-row>
|
||||
<b-row>
|
||||
<b-col>
|
||||
<stats-view v-if="chartData != null && chartData !== {}" v-bind:chartData="chartData"
|
||||
<b-col v-if="chartData != null && chartData.labels.length > 0">
|
||||
<stats-view v-bind:chartData="chartData"
|
||||
style="position: relative; height:80vh" :options="options"/>
|
||||
</b-col>
|
||||
</b-row>
|
||||
@ -56,8 +56,9 @@
|
||||
<script>
|
||||
import Vue from "vue";
|
||||
import StatsView from "../components/StatsView";
|
||||
|
||||
import "vue-awesome/icons/exclamation-circle";
|
||||
var moment = require("moment");
|
||||
|
||||
export default {
|
||||
name: "stats",
|
||||
components: {StatsView},
|
||||
|
Loading…
Reference in New Issue
Block a user