Skip to content

Commit a10235b

Browse files
quickViewEnabled condition update
1 parent 0b168d7 commit a10235b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/components/view/ListView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1210,7 +1210,7 @@ export default {
12101210
createPathBasedOnVmType: createPathBasedOnVmType,
12111211
quickViewEnabled (actions, columns, key) {
12121212
return actions.length > 0 &&
1213-
(columns && ['name', 'provider', 'hypervisor', 'intervaltype'].includes(columns[0].dataIndex) || ['displayname'].includes(key)) &&
1213+
(columns && key === columns[0].dataIndex) &&
12141214
new RegExp(['/vm', '/kubernetes', '/ssh', '/userdata', '/vmgroup', '/affinitygroup', '/autoscalevmgroup',
12151215
'/volume', '/snapshot', '/vmsnapshot', '/backup',
12161216
'/guestnetwork', '/vpc', '/vpncustomergateway', '/vnfapp',

0 commit comments

Comments
 (0)