Skip to content

Commit

Permalink
Merge pull request #528 from appwrite/fix-6121-runtimes-dropdown
Browse files Browse the repository at this point in the history
Fix the update runtimes dropdown to show available runtimes
  • Loading branch information
christyjacob4 authored Sep 6, 2023
2 parents 88b6d59 + 433b019 commit e7d4f2e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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
Expand Down

3 comments on commit e7d4f2e

@vercel
Copy link

@vercel vercel bot commented on e7d4f2e Sep 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on e7d4f2e Sep 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

console-cloud – ./

console-cloud.vercel.app
console-cloud-appwrite.vercel.app
console-cloud-git-main-appwrite.vercel.app

@vercel
Copy link

@vercel vercel bot commented on e7d4f2e Sep 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

console-preview – ./

console-preview-git-main-appwrite.vercel.app
console-next.vercel.app
console-preview-appwrite.vercel.app

Please sign in to comment.