MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / prevPage

Function prevPage

vmm/ui/src/composables/useVmManager.ts:1207–1213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1205 }
1206
1207 function prevPage() {
1208 if (currentPage.value > 1) {
1209 currentPage.value -= 1;
1210 pageInput.value = currentPage.value;
1211 loadVMList();
1212 }
1213 }
1214
1215 function goToPage() {
1216 let page = Number.parseInt(String(pageInput.value), 10);

Callers

nothing calls this directly

Calls 1

loadVMListFunction · 0.85

Tested by

no test coverage detected