Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ui/public/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1289,8 +1289,8 @@
"label.lastname.lower": "lastname",
"label.latest.events": "Latest events",
"label.launch": "Launch",
"label.launch.vm": "Launch Virtual Machine",
"label.launch.vm.and.stay": "Launch VM & Stay On This Page",
"label.launch.vm": "Launch Instance",
"label.launch.vm.and.stay": "Launch Instance & Stay On This Page",
"label.launch.zone": "Launch Zone",
"label.lb.algorithm.leastconn": "Least connections",
"label.lb.algorithm.roundrobin": "Round-robin",
Expand Down
10 changes: 9 additions & 1 deletion ui/src/views/compute/DeployVM.vue
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@
{{ $t('label.launch.vm') }}
<template #icon><down-outlined /></template>
<template #overlay>
<a-menu type="primary" @click="handleSubmitAndStay" theme="dark">
<a-menu type="primary" @click="handleSubmitAndStay" theme="dark" class="btn-stay-on-page">
<a-menu-item type="primary" key="1">
<rocket-outlined />
{{ $t('label.launch.vm.and.stay') }}
Expand Down Expand Up @@ -2396,4 +2396,12 @@ export default {
.form-item-hidden {
display: none;
}

.btn-stay-on-page {
&.ant-dropdown-menu-dark {
.ant-dropdown-menu-item:hover {
background: transparent !important;
}
}
}
</style>