fix detail page empty if the monitor list is not yet ready

This commit is contained in:
LouisLam 2021-08-23 16:59:27 +08:00
parent a61a65e5ae
commit a02edf1b4f
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<template>
<transition name="slide-fade" appear>
<div>
<div v-if="monitor">
<h1> {{ monitor.name }}</h1>
<p class="url">
<a v-if="monitor.type === 'http' || monitor.type === 'keyword' " :href="monitor.url" target="_blank">{{ monitor.url }}</a>