Skip to content
Merged
6 changes: 3 additions & 3 deletions ui/public/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3444,9 +3444,9 @@
"label.desktop.master.version.manage": "Whether to use a Master Template",
"label.desktop.master.version.delete": "Delete Master Template",
"label.addomainname": "AD Domain Name",
"label.works.portal.url": "Works Portal Link",
"label.wall.portal.vm.url": "Realtime Monitoring Link",
"label.wall.portal.url": "Monitoring Dashboard Link",
"label.works.portal.url": "Works Portal",
"label.wall.portal.vm.url": "Realtime Monitoring",
"label.wall.portal.url": "Monitoring Dashboard",
"label.templatestate": "Template State",
"label.templateostype": "OS Type",
"label.access.type": "Access Type",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/header/UserMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</a-menu-item>
<a-menu-item class="user-menu-item" key="1">
<a :href="$store.getters.features.wallportaldashboardurl" target="_blank" v-if="$store.getters.userInfo.roletype === 'Admin'">
<a-icon class="user-menu-item-icon" type="user"/>
<a-icon class="user-menu-item-icon" type="global"/>
<span class="user-menu-item-name">{{ $t('label.wall.portal.url') }}</span>
</a>
</a-menu-item>
Expand Down
6 changes: 1 addition & 5 deletions ui/src/components/view/ActionButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<template slot="title">
{{ $t('label.wall.portal.vm.url') }}
</template>
<wall-link-url :resource="resource" :size="size" :ip="hostname"/>
<wall-link-url :resource="resource" :size="size" />
</a-tooltip>
<a-tooltip
v-for="(action, actionIndex) in actions"
Expand Down Expand Up @@ -104,7 +104,6 @@ export default {
data () {
return {
actionBadge: {},
hostname: this.serverIP()
}
},
mounted () {
Expand Down Expand Up @@ -203,9 +202,6 @@ export default {
}).catch(() => {})
}
},
serverIP () {
return location.hostname
}
}
}
</script>
Expand Down
6 changes: 1 addition & 5 deletions ui/src/components/widgets/WallLinkUrl.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<template>
<a
v-if="['vm'].includes($route.meta.name) && 'updateVirtualMachine' in $store.getters.apis"
:href="$store.getters.features.wallportalvmurl+'?kiosk&var-vm='+resource.instancename"
:href="$store.getters.features.wallportalvmurl+'?kiosk&var-vm_uuid='+resource.id"
target="_blank" >
<a-button style="margin-left: 5px" shape="circle" type="" :size="size" :disabled="['Stopped', 'Error', 'Destroyed'].includes(resource.state)" >
<a-icon type="global" />
Expand All @@ -37,10 +37,6 @@ export default {
type: String,
default: 'small'
},
ip: {
type: String,
default: ''
}
}
}
</script>