mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
Merge pull request #528 from appwrite/fix-6121-runtimes-dropdown
Fix the update runtimes dropdown to show available runtimes
This commit is contained in:
1 file changed
+2
-1
+2
-1
@@ -10,6 +10,7 @@
|
||||
import { onMount } from 'svelte';
|
||||
import { func } from '../store';
|
||||
import InputSelect from '$lib/elements/forms/inputSelect.svelte';
|
||||
import { runtimesList } from '$routes/console/project-[project]/functions/store';
|
||||
|
||||
const functionId = $page.params.function;
|
||||
let runtime: string = null;
|
||||
@@ -19,7 +20,7 @@
|
||||
onMount(async () => {
|
||||
runtime ??= $func.runtime;
|
||||
|
||||
let runtimes = await $page.data.runtimes;
|
||||
let runtimes = await $runtimesList;
|
||||
options = runtimes.runtimes.map((runtime) => ({
|
||||
label: `${runtime.name} - ${runtime.version}`,
|
||||
value: runtime.$id
|
||||
|
||||
Reference in new issue
Block a user