mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix: show the runtime in the selector when only one exists.
This commit is contained in:
1 parent
053a975eb7
commit
637a1fcfb6
1 file changed
+4
@@ -25,6 +25,10 @@
|
||||
return allowedRuntimes.includes(runtime.value);
|
||||
});
|
||||
|
||||
if (options.length == 1) {
|
||||
$templateConfig.runtime = options[0].value;
|
||||
}
|
||||
|
||||
return options;
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in new issue
Block a user