Merge pull request #357 from Saibamen/nav_from_dashHome

Route to monitor on `DashboardHome`
This commit is contained in:
Louis Lam 2021-09-08 16:11:39 +08:00 committed by GitHub
commit 9d00bd9029
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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>