Fixed invisible heartbeat bar after page switch

This commit is contained in:
Ponkhy 2021-08-17 15:40:22 +02:00
parent 8d57df7256
commit 77369bd002

View File

@ -19,7 +19,7 @@
{{ item.name }}
</div>
</div>
<div class="col-6 col-md-4" v-bind:class="{ 'hideHeartbeatBar': $root.userHeartbeatBar == 'bottom' || $root.userHeartbeatBar == 'none' }">
<div class="col-6 col-md-4" v-show="$root.userHeartbeatBar == 'normal'" :key="$root.userHeartbeatBar">
<HeartbeatBar size="small" :monitor-id="item.id" />
</div>
</div>
@ -153,10 +153,6 @@ export default {
}
}
.hideHeartbeatBar {
display: none;
}
.monitorItem {
width: 100%;
}