fix handling of instances with empty name,
improve instance table headers
This commit is contained in:
parent
71ecc2840e
commit
5f9908df50
@ -72,16 +72,16 @@
|
||||
<div>
|
||||
<div class="w3-row w3-hide-small" style="border-bottom: 1px solid;">
|
||||
<div class="w3-col l1 m2">
|
||||
<p>VM ID</p>
|
||||
<p>ID</p>
|
||||
</div>
|
||||
<div class="w3-col l2 m3">
|
||||
<p>VM Name</p>
|
||||
<p>Name</p>
|
||||
</div>
|
||||
<div class="w3-col l1 m2">
|
||||
<p>VM Type</p>
|
||||
<p>Type</p>
|
||||
</div>
|
||||
<div class="w3-col l2 m3">
|
||||
<p>VM Status</p>
|
||||
<p>Status</p>
|
||||
</div>
|
||||
<div class="w3-col l2 w3-hide-medium">
|
||||
<p>Host Name</p>
|
||||
|
@ -92,7 +92,7 @@ class InstanceCard extends HTMLElement {
|
||||
}
|
||||
}
|
||||
else {
|
||||
nameParagraph.innerText = this.name ? this.name : "";
|
||||
nameParagraph.innerHTML = this.name ? this.name : " ";
|
||||
}
|
||||
|
||||
const typeParagraph = this.shadowRoot.querySelector("#instance-type");
|
||||
|
Loading…
Reference in New Issue
Block a user