feat(lite): placeholders for pool/host/VM name_label (#6391)
Some objects may have an empty `name_label`. This is to avoid confusion in the tree view.
This commit is contained in:
parent
663403cb14
commit
005d3b5976
@ -5,7 +5,7 @@
|
||||
:icon="faServer"
|
||||
:route="{ name: 'host.dashboard', params: { uuid: host.uuid } }"
|
||||
>
|
||||
{{ host.name_label }}
|
||||
{{ host.name_label || '(Host)' }}
|
||||
<template #actions>
|
||||
<InfraAction
|
||||
:icon="isExpanded ? faAngleDown : faAngleUp"
|
||||
|
@ -7,7 +7,7 @@
|
||||
:route="{ name: 'pool.dashboard', params: { uuid: pool.uuid } }"
|
||||
current
|
||||
>
|
||||
{{ pool.name_label }}
|
||||
{{ pool.name_label || '(Pool)' }}
|
||||
</InfraItemLabel>
|
||||
|
||||
<InfraHostList />
|
||||
|
@ -5,7 +5,7 @@
|
||||
:icon="faDisplay"
|
||||
:route="{ name: 'vm.console', params: { uuid: vm.uuid } }"
|
||||
>
|
||||
{{ vm.name_label }}
|
||||
{{ vm.name_label || '(VM)' }}
|
||||
<template #actions>
|
||||
<InfraAction>
|
||||
<PowerStateIcon :state="vm?.power_state" />
|
||||
|
Loading…
Reference in New Issue
Block a user