Use v-else instead of negative v-if

Co-authored-by: Frank Elsinga <frank@elsinga.de>
pull/4587/head
broodroosterdev 4 weeks ago committed by GitHub
parent 75f2c69ac5
commit f381d64fce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -39,7 +39,7 @@
<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)" />
<Uptime v-if="!hideUptimePercentage" :monitor="monitor.element" type="24" :pill="true" />
<Uptime v-else :monitor="monitor.element" type="24" :pill="true" />
<a
v-if="showLink(monitor)"
:href="monitor.element.url"

Loading…
Cancel
Save