Skip to content

Commit

Permalink
VNF/UI: minor ui fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
weizhouapache committed Oct 12, 2023
1 parent 965eace commit 01d21b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ui/src/config/section/network.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ export default {
name: 'vnftemplate',
title: 'label.vnf.templates',
icon: 'gateway-outlined',
docHelp: 'adminguide/networking/vnf_templates_appliances.html',
permission: ['listVnfTemplates'],
params: { templatefilter: 'self', showunique: 'true' },
filters: ['self', 'shared', 'featured', 'community'],
Expand Down Expand Up @@ -504,7 +505,7 @@ export default {
api: 'deployVnfAppliance',
icon: 'plus-outlined',
label: 'label.vnf.appliance.add',
docHelp: 'adminguide/virtual_machines.html#creating-vms',
docHelp: 'adminguide/networking/vnf_templates_appliances.html#deploying-vnf-appliances',
listView: true,
component: () => import('@/views/compute/DeployVnfAppliance.vue')
},
Expand Down
2 changes: 1 addition & 1 deletion ui/src/views/AutogenView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,7 @@ export default {
this.rules = reactive({})
if (action.component && action.api && !action.popup) {
const query = {}
if (this.$route.path.startsWith('/vm')) {
if (this.$route.path.startsWith('/vm') || this.$route.path.startsWith('/vnfapp')) {
switch (true) {
case ('templateid' in this.$route.query):
query.templateid = this.$route.query.templateid
Expand Down

0 comments on commit 01d21b8

Please sign in to comment.