mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-01 03:36:04 +08:00
feat: support adding VM display name in creation page (#912)
* feat: add VM display name annotation support in edit and list views Signed-off-by: Andy Lee <andy.lee@suse.com> * refactor: add display name checkbox and input field Signed-off-by: Andy Lee <andy.lee@suse.com> --------- Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
@@ -22,6 +22,8 @@ export const VM_HEADERS = [
|
||||
{
|
||||
...NAME,
|
||||
width: 350,
|
||||
value: 'nameDisplay',
|
||||
sort: ['nameDisplay'],
|
||||
},
|
||||
NAMESPACE,
|
||||
{
|
||||
@@ -244,7 +246,7 @@ export default {
|
||||
v-if="scope.row.type !== HCI.VMI"
|
||||
:to="scope.row.detailLocation"
|
||||
>
|
||||
{{ scope.row.metadata.name }}
|
||||
{{ scope.row.nameDisplay }}
|
||||
<i
|
||||
v-if="scope.row.encryptedVolumeType !== 'none'"
|
||||
v-tooltip="lockIconTooltipMessage(scope.row)"
|
||||
@@ -253,7 +255,7 @@ export default {
|
||||
/>
|
||||
</router-link>
|
||||
<span v-else>
|
||||
{{ scope.row.metadata.name }}
|
||||
{{ scope.row.nameDisplay }}
|
||||
</span>
|
||||
<ConsoleBar
|
||||
:resource-type="scope.row"
|
||||
|
||||
Reference in New Issue
Block a user