Add log to debug home component

This commit is contained in:
Torjus Håkestad 2021-04-11 11:49:46 +02:00
parent 889c41853e
commit 2467e7ba47

View File

@ -1,6 +1,6 @@
<template>
<div class="home">
<b-container :v-if="totalStats">
<b-container v-if="totalStats">
<b-row>
<b-col class="total-title">
<h2>Total login attempts</h2>
@ -72,6 +72,7 @@ export default class Home extends Vue {
.get<TotalStatsResult[]>(url)
.then((resp) => {
this.totalStats = resp.data;
console.log(this.totalStats);
})
.catch((e) => {
console.log(e);