reindent + fix Swal call

This commit is contained in:
Gwenhael Le Moine 2021-05-12 16:57:38 +02:00
parent 66c0b952c2
commit 4357ac5002
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -64,7 +64,7 @@ app.component('bucket',
</tr>`; </tr>`;
}; };
swal({ Swal.fire({
title: response.data.key, title: response.data.key,
html: ` html: `
<table style="width: 100%;"> <table style="width: 100%;">
@ -219,7 +219,7 @@ app.component('dashboard',
let total = e.series.reduce((memo, serie) => { return memo + serie.value; }, 0); let total = e.series.reduce((memo, serie) => { return memo + serie.value; }, 0);
return ` return `
<h2>${e.value}</h2> <h2>${e.value}</h2>
<table> <table>
<tbody> <tbody>