Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fixes

Andras Bacsaida244af39d6d
diff --git a/apps/ui/src/routes/applications/[id]/index.svelte b/apps/ui/src/routes/applications/[id]/index.svelte
index 25eb7cfb45..483a8050db 100644
--- a/apps/ui/src/routes/applications/[id]/index.svelte
+++ b/apps/ui/src/routes/applications/[id]/index.svelte
@@ -68,7 +68,7 @@
let fqdnEl: any = null;
let forceSave = false;
let isPublicRepository = application.settings?.isPublicRepository;
- let apiUrl = application.gitSource.apiUrl;
+ let apiUrl = application.gitSource?.apiUrl;
let branch = application.branch;
let repository = application.repository;
let debug = application.settings?.debug;
@@ -78,7 +78,7 @@
let autodeploy = application.settings?.autodeploy;
let isBot = application.settings?.isBot;
let isDBBranching = application.settings?.isDBBranching;
- let htmlUrl = application.gitSource.htmlUrl;
+ let htmlUrl = application.gitSource?.htmlUrl;
let dockerComposeFile = JSON.parse(application.dockerComposeFile) || null;
let dockerComposeServices: any[] = [];
@@ -501,14 +501,14 @@
<input
disabled={isDisabled || application.settings.isPublicRepository}
class="w-full"
- value={application.gitSource.name}
+ value={application.gitSource?.name}
/>
{:else}
<a
href={`/applications/${id}/configuration/source?from=/applications/${id}`}
class="no-underline"
><input
- value={application.gitSource.name}
+ value={application.gitSource?.name}
id="gitSource"
class="cursor-pointer hover:bg-coolgray-500 w-full"
/></a
diff --git a/apps/ui/src/routes/settings/_Menu.svelte b/apps/ui/src/routes/settings/_Menu.svelte
index e30870f14c..167aa257fa 100644
--- a/apps/ui/src/routes/settings/_Menu.svelte
+++ b/apps/ui/src/routes/settings/_Menu.svelte
@@ -29,8 +29,8 @@
</li>
<li class="rounded" class:bg-coollabs={$page.url.pathname === `/settings/docker`}>
- <a href={`/settings/docker`} class="no-underline w-full"
- ><svg
+ <a href={`/settings/docker`} class="no-underline w-full">
+ <svg
xmlns="http://www.w3.org/2000/svg"
class="w-6 h-6"
viewBox="0 0 24 24"
@@ -42,8 +42,16 @@
>
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path
- d="M7 10h3v-3l-3.5 -3.5a6 6 0 0 1 8 8l6 6a2 2 0 0 1 -3 3l-6 -6a6 6 0 0 1 -8 -8l3.5 3.5"
+ d="M22 12.54c-1.804 -.345 -2.701 -1.08 -3.523 -2.94c-.487 .696 -1.102 1.568 -.92 2.4c.028 .238 -.32 1.002 -.557 1h-14c0 5.208 3.164 7 6.196 7c4.124 .022 7.828 -1.376 9.854 -5c1.146 -.101 2.296 -1.505 2.95 -2.46z"
/>
+ <path d="M5 10h3v3h-3z" />
+ <path d="M8 10h3v3h-3z" />
+ <path d="M11 10h3v3h-3z" />
+ <path d="M8 7h3v3h-3z" />
+ <path d="M11 7h3v3h-3z" />
+ <path d="M11 4h3v3h-3z" />
+ <path d="M4.571 18c1.5 0 2.047 -.074 2.958 -.78" />
+ <line x1="10" y1="16" x2="10" y2="16.01" />
</svg>Docker Registries</a
>
</li>