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 }} {{ item.name }}
</div> </div>
</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" /> <HeartbeatBar size="small" :monitor-id="item.id" />
</div> </div>
</div> </div>
@ -153,10 +153,6 @@ export default {
} }
} }
.hideHeartbeatBar {
display: none;
}
.monitorItem { .monitorItem {
width: 100%; width: 100%;
} }