diff --git a/src/routes/console/project-[project]/functions/function-[function]/settings/updateRuntime.svelte b/src/routes/console/project-[project]/functions/function-[function]/settings/updateRuntime.svelte index 504847e583..b5c401fc4e 100644 --- a/src/routes/console/project-[project]/functions/function-[function]/settings/updateRuntime.svelte +++ b/src/routes/console/project-[project]/functions/function-[function]/settings/updateRuntime.svelte @@ -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