(vm: VmListItem)
| 1188 | } |
| 1189 | |
| 1190 | async function refreshNetworkInfo(vm: VmListItem) { |
| 1191 | if (vm.status !== 'running' || !imageFeatures(vm).network_info) { |
| 1192 | return; |
| 1193 | } |
| 1194 | const response = await guestRpcCall('NetworkInfo', { id: vm.id }); |
| 1195 | const data = await response.json(); |
| 1196 | networkInfo.value[vm.id] = data; |
| 1197 | } |
| 1198 | |
| 1199 | function nextPage() { |
| 1200 | if (hasMorePages.value) { |
no test coverage detected