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

pull/246/head
LouisLam 3 years ago
parent a61a65e5ae
commit a02edf1b4f

@ -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>

Loading…
Cancel
Save