fix: show the runtime in the selector when only one exists.

This commit is contained in:
ItzNotABug committed 2024-04-06 15:37:02 +05:30
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>