Skip to content

Commit

Permalink
VNF/UI: fix 'View Console' and 'Copy console URL' icons are not displ…
Browse files Browse the repository at this point in the history
…ayed
  • Loading branch information
weizhouapache committed Oct 13, 2023
1 parent 80c9a05 commit 1f446b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/widgets/Console.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<template>
<a
v-if="['vm', 'systemvm', 'router', 'ilbvm'].includes($route.meta.name) && 'listVirtualMachines' in $store.getters.apis && 'createConsoleEndpoint' in $store.getters.apis"
v-if="['vm', 'systemvm', 'router', 'ilbvm', 'vnfapp'].includes($route.meta.name) && 'listVirtualMachines' in $store.getters.apis && 'createConsoleEndpoint' in $store.getters.apis"
@click="consoleUrl">
<a-button style="margin-left: 5px" shape="circle" type="dashed" :size="size" :disabled="['Stopped', 'Error', 'Destroyed'].includes(resource.state) || resource.hostcontrolstate === 'Offline'" >
<code-outlined v-if="!copyUrlToClipboard"/>
Expand Down

0 comments on commit 1f446b6

Please sign in to comment.