Add log to debug home component
This commit is contained in:
parent
889c41853e
commit
2467e7ba47
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="home">
|
<div class="home">
|
||||||
<b-container :v-if="totalStats">
|
<b-container v-if="totalStats">
|
||||||
<b-row>
|
<b-row>
|
||||||
<b-col class="total-title">
|
<b-col class="total-title">
|
||||||
<h2>Total login attempts</h2>
|
<h2>Total login attempts</h2>
|
||||||
@ -72,6 +72,7 @@ export default class Home extends Vue {
|
|||||||
.get<TotalStatsResult[]>(url)
|
.get<TotalStatsResult[]>(url)
|
||||||
.then((resp) => {
|
.then((resp) => {
|
||||||
this.totalStats = resp.data;
|
this.totalStats = resp.data;
|
||||||
|
console.log(this.totalStats);
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
console.log(e);
|
console.log(e);
|
||||||
|
Loading…
Reference in New Issue
Block a user