diff --git a/apps/ui/src/routes/index.svelte b/apps/ui/src/routes/index.svelte index 190d05b89..bb9549787 100644 --- a/apps/ui/src/routes/index.svelte +++ b/apps/ui/src/routes/index.svelte @@ -888,6 +888,88 @@ > {#if filtered.services.length > 0} {#each filtered.services as service} + {#key service.id} + +
+ {#await getStatus(service)} + + {:then} + {#if !noInitialStatus.services} + {#if status[service.id] === 'loading'} + + {:else if status[service.id] === 'running'} + + {:else} + + {/if} + {/if} + {/await} +
+ + +
+
+ + {/key} + {/each} + {:else} +

Nothing here.

+ {/if} + + {/if} + {#if filtered.otherServices.length > 0} + {#if filtered.services.length > 0} +
+ {/if} + {/if} + {#if filtered.otherServices.length > 0} +
+ {#each filtered.otherServices as service} + {#key service.id}
- {/each} - {:else} -

Nothing here.

- {/if} -
- {/if} - {#if filtered.otherServices.length > 0} - {#if filtered.services.length > 0} -
- {/if} - {/if} - {#if filtered.otherServices.length > 0} - {/if} @@ -1054,6 +1060,88 @@ > {#if filtered.databases.length > 0} {#each filtered.databases as database} + {#key database.id} + +
+ {#await getStatus(database)} + + {:then} + {#if !noInitialStatus.databases} + {#if status[database.id] === 'loading'} + + {:else if status[database.id] === 'running'} + + {:else} + + {/if} + {/if} + {/await} +
+ +
+
+

{database.name}

+
+ {#if database?.version} +

{database?.version}

+ {:else} +

Not version not configured

+ {/if} + {#if database.destinationDocker?.name} +
{database.destinationDocker?.name}
+ {/if} + {#if database.teams.length > 0 && database.teams[0]?.name} +
{database.teams[0]?.name}
+ {/if} +
+
+
+ {#if database.settings?.isPublic} +
+ + + + + + + + +
+ {/if} +
+
+
+
+
+ {/key} + {/each} + {:else} +

Nothing here.

+ {/if} +
+ {/if} + {#if filtered.otherDatabases.length > 0} + {#if filtered.databases.length > 0} +
+ {/if} + {/if} + {#if filtered.otherDatabases.length > 0} +
+ {#each filtered.otherDatabases as database} + {#key database.id}
- {/each} - {:else} -

Nothing here.

- {/if} -
- {/if} - {#if filtered.otherDatabases.length > 0} - {#if filtered.databases.length > 0} -
- {/if} - {/if} - {#if filtered.otherDatabases.length > 0} - {/if} @@ -1209,6 +1221,106 @@ > {#if filtered.gitSources.length > 0} {#each filtered.gitSources as source} + {#key source.id} + + + {/if} + {#if filtered.otherGitSources.length > 0} + {#if filtered.gitSources.length > 0} +
+ {/if} + {/if} + {#if filtered.otherGitSources.length > 0} +
+ {#each filtered.otherGitSources as source} + {#key source.id}
@@ -1276,100 +1388,12 @@
{source.teams[0]?.name}
{/if}
-
- {/each} - {:else} -

Nothing here.

- {/if} -
- {/if} - {#if filtered.otherGitSources.length > 0} - {#if filtered.gitSources.length > 0} -
- {/if} - {/if} - {#if filtered.otherGitSources.length > 0} - + {/if} + {#if filtered.otherDestinations.length > 0} + {#if filtered.destinations.length > 0} +
+ {/if} + {/if} + {#if filtered.otherDestinations.length > 0} +
+ {#each filtered.otherDestinations as destination} + {#key destination.id}
- {/each} - {:else} -

Nothing here.

- {/if} -
- {/if} - {#if filtered.otherDestinations.length > 0} - {#if filtered.destinations.length > 0} -