Minor fixes

This commit is contained in:
Douglas Barone 2020-11-11 17:12:37 -04:00
parent a051a6d075
commit 54cef16f5a
3 changed files with 8 additions and 16 deletions

View File

@ -9,17 +9,13 @@ function logMsg(msg) {
logMsg('Scheduling tasks')
cron.schedule(
'*/5 * * * *',
async () => {
cron.schedule('*/5 * * * *', async () => {
logMsg('updateDBWithOnlineDevices started.')
logMsg(
`updateDBWithOnlineDevices updated ${await updateDBWithOnlineDevices()} devices.`
)
},
{}
)
})
cron.schedule(
'0 0 0 * * *',

View File

@ -80,7 +80,7 @@
</v-list-item-action>
<v-list-item-content>
<v-list-item-title>
{{ wifiDevice.firstSeen | moment('LLLL') }}
{{ wifiDevice.firstSeen | dateAndTime }}
</v-list-item-title>
<v-list-item-subtitle>
Visto pela primeira vez

View File

@ -1,9 +1,5 @@
<template>
<Widget title="Meus Dispositivos" widget-icon="mdi-cellphone-link">
<div class="title font-weight-light mb-2">
<v-icon left>mdi-cellphone-link</v-icon>Cadastrados:
</div>
Em breve...
<div class="title font-weight-light mt-4" mb-2>
<v-icon left>mdi-wifi</v-icon>WiFi:
</div>