mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
Use v-else instead of negative v-if
Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
parent
75f2c69ac5
commit
f381d64fce
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@
|
||||||
<font-awesome-icon v-if="editMode" icon="times" class="action remove me-3" @click="removeMonitor(group.index, monitor.index)" />
|
<font-awesome-icon v-if="editMode" icon="times" class="action remove me-3" @click="removeMonitor(group.index, monitor.index)" />
|
||||||
|
|
||||||
<Status v-if="hideUptimePercentage" :status="statusOfLastHeartbeat(monitor.element.id)" />
|
<Status v-if="hideUptimePercentage" :status="statusOfLastHeartbeat(monitor.element.id)" />
|
||||||
<Uptime v-if="!hideUptimePercentage" :monitor="monitor.element" type="24" :pill="true" />
|
<Uptime v-else :monitor="monitor.element" type="24" :pill="true" />
|
||||||
<a
|
<a
|
||||||
v-if="showLink(monitor)"
|
v-if="showLink(monitor)"
|
||||||
:href="monitor.element.url"
|
:href="monitor.element.url"
|
||||||
|
|
Loading…
Reference in a new issue