Skip to content

Commit d0a5207

Browse files
UI: Fix quickview (for provider column) in backup repository
1 parent 4b74a99 commit d0a5207

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/src/components/view/ListView.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
</div>
5050
</template>
5151
<template #bodyCell="{ column, text, record }">
52-
<template v-if="['name', 'provider'].includes(column.key) ">
52+
<template v-if="column.key === 'name' || (column.key === 'provider' && ['oauthsetting'].includes($route.path.split('/')[1]))">
5353
<span
5454
v-if="['vm', 'vnfapp'].includes($route.path.split('/')[1])"
5555
style="margin-right: 5px"
@@ -70,7 +70,7 @@
7070
style="margin-left: 5px"
7171
:actions="actions"
7272
:resource="record"
73-
:enabled="quickViewEnabled() && actions.length > 0 && columns && ['name', 'provider'].includes(columns[0].dataIndex)"
73+
:enabled="quickViewEnabled() && actions.length > 0 && columns && (columns[0].dataIndex === 'name' || (columns[0].dataIndex === 'provider' && ['oauthsetting'].includes($route.path.split('/')[1])))"
7474
@exec-action="$parent.execAction"
7575
/>
7676
<span

0 commit comments

Comments
 (0)