Merge branch 'cloud' of github.com:appwrite/console into feat-org-limit-banner-alert

This commit is contained in:
Arman committed 2024-04-05 17:15:41 +02:00
commit 35ac1e9fb8
1 file changed
+5 -4
@@ -2,10 +2,11 @@ import { page } from '$app/stores';
import { derived } from 'svelte/store';
import type { Models } from '@appwrite.io/console';
export const runtimesList = derived(
page,
async ($page) => (await $page.data.runtimesList) as Models.RuntimeList
);
export const runtimesList = derived(page, async ($page) => {
const { runtimes } = (await $page.data.runtimes) as Models.RuntimeList;
const filtered = runtimes.filter((runtime) => !runtime.name.startsWith('python-ml'));
return { runtimes: filtered, total: filtered.length };
});
export const baseRuntimesList = derived(runtimesList, async ($runtimesList) => {
const baseRuntimes = new Map<string, Models.Runtime>();