Route to monitor on DashboardHome

This commit is contained in:
Adam Stachowicz 2021-09-08 09:55:08 +02:00
parent d761d54d0e
commit f6a168282e

View file

@ -38,7 +38,7 @@
</thead>
<tbody>
<tr v-for="(beat, index) in displayedRecords" :key="index" :class="{ 'shadow-box': $root.windowWidth <= 550}">
<td>{{ beat.name }}</td>
<td><router-link :to="`/dashboard/${beat.monitorID}`" class="nav-link">{{ beat.name }}</router-link></td>
<td><Status :status="beat.status" /></td>
<td :class="{ 'border-0':! beat.msg}"><Datetime :value="beat.time" /></td>
<td class="border-0">{{ beat.msg }}</td>