fix: runtimes list

This commit is contained in:
loks0n committed 2024-04-05 18:22:00 +01:00
1 parent 78db8b5b79
commit 9210a73b41
1 file changed
+1 -1
@@ -3,7 +3,7 @@ import { derived } from 'svelte/store';
import type { Models } from '@appwrite.io/console';
export const runtimesList = derived(page, async ($page) => {
const { runtimes } = (await $page.data.runtimes) as Models.RuntimeList;
const { runtimes } = (await $page.data.runtimesList) as Models.RuntimeList;
const filtered = runtimes.filter((runtime) => !runtime.name.startsWith('python-ml'));
return { runtimes: filtered, total: filtered.length };
});