mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix: typo, add lang to placeholder
This commit is contained in:
1 parent
a6fb979841
commit
f5cf015943
2 files changed
+4
-3
No files matched your search
@@ -21,13 +21,14 @@
|
||||
let entrypoint: string;
|
||||
let active: boolean;
|
||||
let files: FileList;
|
||||
let lang = 'js';
|
||||
let codeSnippets = {};
|
||||
|
||||
const functionId = $page.params.function;
|
||||
const dispatch = createEventDispatcher();
|
||||
|
||||
onMount(() => {
|
||||
const lang = setLanguage($func.runtime);
|
||||
lang = setLanguage($func.runtime);
|
||||
codeSnippets = setCodeSnippets(lang);
|
||||
});
|
||||
|
||||
@@ -159,7 +160,7 @@
|
||||
<FormList>
|
||||
<InputText
|
||||
label="Entrypoint"
|
||||
placeholder="main.py"
|
||||
placeholder={`main.${lang}`}
|
||||
id="entrypoint"
|
||||
bind:value={entrypoint}
|
||||
required />
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
</script>
|
||||
|
||||
<div class="u-flex u-cross-center u-main-end">
|
||||
<Button text on:click={deselectAll}>deselect all</Button>
|
||||
<Button text on:click={deselectAll}>Deselect all</Button>
|
||||
<Button text on:click={selectAll}>Select all</Button>
|
||||
</div>
|
||||
<Collapsible>
|
||||
|
||||
Reference in new issue
Block a user