ui: update vm deploy form iso label (#8075)

This commit is contained in:
Abhishek Kumar 2023-10-11 18:26:50 +05:30 committed by GitHub
parent 8b281284a2
commit 7b4cf1b1c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -1275,6 +1275,7 @@
"label.move.to.bottom": "Move to bottom",
"label.move.to.top": "Move to top",
"label.move.up.row": "Move up one row",
"label.my.isos": "My ISOs",
"label.my.templates": "My templates",
"label.na": "N/A",
"label.name": "Name",

View File

@ -56,6 +56,10 @@ export default {
name: 'TemplateIsoSelection',
components: { TemplateIsoRadioGroup },
props: {
selected: {
type: String,
default: null
},
items: {
type: Object,
default: () => {}
@ -85,7 +89,7 @@ export default {
name: 'label.community'
}, {
id: 'selfexecutable',
name: 'label.my.templates'
name: this.selected === 'isoid' ? 'label.my.isos' : 'label.my.templates'
}, {
id: 'sharedexecutable',
name: 'label.sharedexecutable'