(vm: VmListItem)
| 1459 | } |
| 1460 | |
| 1461 | function getVmFeatures(vm: VmListItem) { |
| 1462 | const features = []; |
| 1463 | |
| 1464 | const kp = getKeyProvider(vm); |
| 1465 | if (kp && kp != 'none') features.push(kp); |
| 1466 | |
| 1467 | // Check Gateway/TProxy |
| 1468 | if (vm.appCompose?.gateway_enabled) features.push("gateway"); |
| 1469 | |
| 1470 | // Check other features from appCompose |
| 1471 | if (vm.appCompose?.public_logs) features.push("logs"); |
| 1472 | if (vm.appCompose?.public_sysinfo) features.push("sysinfo"); |
| 1473 | if (vm.appCompose?.public_tcbinfo) features.push("tcbinfo"); |
| 1474 | |
| 1475 | return features.length > 0 ? features.join(', ') : 'None'; |
| 1476 | } |
| 1477 | |
| 1478 | // ── Image Registry ───────────────────────────────────────────── |
| 1479 | const showImageRegistry = ref(false); |
nothing calls this directly
no test coverage detected