fixes
This commit is contained in:
parent
067f502d3c
commit
da244af39d
@ -68,7 +68,7 @@
|
|||||||
let fqdnEl: any = null;
|
let fqdnEl: any = null;
|
||||||
let forceSave = false;
|
let forceSave = false;
|
||||||
let isPublicRepository = application.settings?.isPublicRepository;
|
let isPublicRepository = application.settings?.isPublicRepository;
|
||||||
let apiUrl = application.gitSource.apiUrl;
|
let apiUrl = application.gitSource?.apiUrl;
|
||||||
let branch = application.branch;
|
let branch = application.branch;
|
||||||
let repository = application.repository;
|
let repository = application.repository;
|
||||||
let debug = application.settings?.debug;
|
let debug = application.settings?.debug;
|
||||||
@ -78,7 +78,7 @@
|
|||||||
let autodeploy = application.settings?.autodeploy;
|
let autodeploy = application.settings?.autodeploy;
|
||||||
let isBot = application.settings?.isBot;
|
let isBot = application.settings?.isBot;
|
||||||
let isDBBranching = application.settings?.isDBBranching;
|
let isDBBranching = application.settings?.isDBBranching;
|
||||||
let htmlUrl = application.gitSource.htmlUrl;
|
let htmlUrl = application.gitSource?.htmlUrl;
|
||||||
|
|
||||||
let dockerComposeFile = JSON.parse(application.dockerComposeFile) || null;
|
let dockerComposeFile = JSON.parse(application.dockerComposeFile) || null;
|
||||||
let dockerComposeServices: any[] = [];
|
let dockerComposeServices: any[] = [];
|
||||||
@ -501,14 +501,14 @@
|
|||||||
<input
|
<input
|
||||||
disabled={isDisabled || application.settings.isPublicRepository}
|
disabled={isDisabled || application.settings.isPublicRepository}
|
||||||
class="w-full"
|
class="w-full"
|
||||||
value={application.gitSource.name}
|
value={application.gitSource?.name}
|
||||||
/>
|
/>
|
||||||
{:else}
|
{:else}
|
||||||
<a
|
<a
|
||||||
href={`/applications/${id}/configuration/source?from=/applications/${id}`}
|
href={`/applications/${id}/configuration/source?from=/applications/${id}`}
|
||||||
class="no-underline"
|
class="no-underline"
|
||||||
><input
|
><input
|
||||||
value={application.gitSource.name}
|
value={application.gitSource?.name}
|
||||||
id="gitSource"
|
id="gitSource"
|
||||||
class="cursor-pointer hover:bg-coolgray-500 w-full"
|
class="cursor-pointer hover:bg-coolgray-500 w-full"
|
||||||
/></a
|
/></a
|
||||||
|
@ -29,8 +29,8 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="rounded" class:bg-coollabs={$page.url.pathname === `/settings/docker`}>
|
<li class="rounded" class:bg-coollabs={$page.url.pathname === `/settings/docker`}>
|
||||||
<a href={`/settings/docker`} class="no-underline w-full"
|
<a href={`/settings/docker`} class="no-underline w-full">
|
||||||
><svg
|
<svg
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
class="w-6 h-6"
|
class="w-6 h-6"
|
||||||
viewBox="0 0 24 24"
|
viewBox="0 0 24 24"
|
||||||
@ -42,8 +42,16 @@
|
|||||||
>
|
>
|
||||||
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
||||||
<path
|
<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
|
</svg>Docker Registries</a
|
||||||
>
|
>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user