fix: steven qa

This commit is contained in:
Arman committed 2023-08-11 10:47:56 +02:00
1 parent 7bcac643e1
commit ce6a8ae3d2
3 files changed
+14 -12

No files matched your search

@@ -39,7 +39,8 @@
you push to that repository, your function will be deployed.
</p>
<div class="alert-buttons u-flex u-margin-inline-start-auto">
<Button text href="#/">Learn more</Button>
<!-- TODO: add link to docs -->
<Button text href="#/" external>Learn more</Button>
<Button
href={`${base}/console/project-${$page.params.project}/functions/function-${$page.params.function}/settings`}>
Install Git
@@ -29,12 +29,6 @@
let selectedDir: string;
let silentMode = false;
$: selectedRepo = (repositoriesList ?? []).find((repo) => repo.id === selectedRepoId) ?? null;
$: selectedInstallation =
(installationsList?.installations ?? []).find(
(installation) => installation.$id === selectedInstallationId
) ?? null;
let installationsOptions = installationsList.installations.map((installation) => {
return {
value: installation.$id,
@@ -129,6 +123,12 @@
offset = 0;
getRepos();
}
$: selectedRepo = (repositoriesList ?? []).find((repo) => repo.id === selectedRepoId) ?? null;
$: selectedInstallation =
(installationsList?.installations ?? []).find(
(installation) => installation.$id === selectedInstallationId
) ?? null;
</script>
<Modal headerDivider={false} bind:show size="big" onSubmit={handleSubmit}>
@@ -209,8 +209,8 @@
<p>There are no repositories that match your search.</p>
</div>
<div class="u-flex u-gap-16 common-section u-main-center">
<Button external href="https://appwrite.io/docs/client/teams" text
>Documentation</Button>
<!-- TODO: add link to docs -->
<Button external href="#/" text>Documentation</Button>
<Button secondary on:click={() => (search = '')}>Clear search</Button>
</div>
</div>
@@ -220,9 +220,10 @@
<div class="common-section">
<div class="u-text-center common-section">
<p class="text u-line-height-1-5">You have no repositories.</p>
<!-- TODO: add link to docs -->
<p class="text u-line-height-1-5">
Need a hand? Learn more in our <a
href="https://appwrite.io/docs/client/teams"
href="#/"
target="_blank"
rel="noopener noreferrer">
documentation</a
@@ -26,7 +26,7 @@
}));
});
async function updateName() {
async function updateRuntime() {
try {
await sdk.forProject.functions.update(
functionId,
@@ -62,7 +62,7 @@
}
</script>
<Form onSubmit={updateName}>
<Form onSubmit={updateRuntime}>
<CardGrid>
<Heading tag="h6" size="7">Runtime</Heading>