@@ -1210,17 +1210,17 @@ 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' ,
1215- ' /volume' , ' /snapshot' , ' /vmsnapshot' , ' /backup' ,
1216- ' /guestnetwork' , ' /vpc' , ' /vpncustomergateway' , ' /vnfapp' ,
1217- ' /template' , ' /iso' ,
1218- ' /project' , ' /account' , ' buckets' , ' objectstore' ,
1219- ' /zone' , ' /pod' , ' /cluster' , ' /host' , ' /storagepool' , ' /imagestore' , ' /systemvm' , ' /router' , ' /ilbvm' , ' /annotation' ,
1220- ' /computeoffering' , ' /systemoffering' , ' /diskoffering' , ' /backupoffering' , ' /networkoffering' , ' /vpcoffering' ,
1221- ' /tungstenfabric' , ' /oauthsetting' , ' /guestos' , ' /guestoshypervisormapping' , ' /webhook' , ' webhookdeliveries' , ' webhookfilters' , ' /quotatariff' , ' /sharedfs' ,
1222- ' /ipv4subnets' , ' /managementserver' , ' /gpucard' , ' /gpudevices' , ' /vgpuprofile' , ' /extension' , ' /snapshotpolicy' , ' /backupschedule' ].join (' |' ))
1223- .test (this .$route .path )
1215+ ' /volume' , ' /snapshot' , ' /vmsnapshot' , ' /backup' ,
1216+ ' /guestnetwork' , ' /vpc' , ' /vpncustomergateway' , ' /vnfapp' ,
1217+ ' /template' , ' /iso' ,
1218+ ' /project' , ' /account' , ' buckets' , ' objectstore' ,
1219+ ' /zone' , ' /pod' , ' /cluster' , ' /host' , ' /storagepool' , ' /imagestore' , ' /systemvm' , ' /router' , ' /ilbvm' , ' /annotation' ,
1220+ ' /computeoffering' , ' /systemoffering' , ' /diskoffering' , ' /backupoffering' , ' /networkoffering' , ' /vpcoffering' ,
1221+ ' /tungstenfabric' , ' /oauthsetting' , ' /guestos' , ' /guestoshypervisormapping' , ' /webhook' , ' webhookdeliveries' , ' webhookfilters' , ' /quotatariff' , ' /sharedfs' ,
1222+ ' /ipv4subnets' , ' /managementserver' , ' /gpucard' , ' /gpudevices' , ' /vgpuprofile' , ' /extension' , ' /snapshotpolicy' , ' /backupschedule' ].join (' |' ))
1223+ .test (this .$route .path )
12241224 },
12251225 enableGroupAction () {
12261226 return [' vm' , ' alert' , ' vmgroup' , ' ssh' , ' userdata' , ' affinitygroup' , ' autoscalevmgroup' , ' volume' , ' snapshot' ,
0 commit comments