Skip to content

Commit ecd4351

Browse files
committed
style(containers): apply prettier formatting to compose panel files
1 parent f012428 commit ecd4351

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

frontend/src/routes/(app)/containers/[containerId]/+page.svelte

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -426,11 +426,7 @@
426426

427427
{#if project && serviceComposeSource}
428428
<Tabs.Content value="compose" class="h-full min-h-0">
429-
<ContainerComposePanel
430-
{project}
431-
serviceName={composeServiceName}
432-
includeFile={serviceComposeSource.includeFile}
433-
/>
429+
<ContainerComposePanel {project} serviceName={composeServiceName} includeFile={serviceComposeSource.includeFile} />
434430
</Tabs.Content>
435431
{/if}
436432
{/snippet}

frontend/src/routes/(app)/containers/components/ContainerComposePanel.svelte

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,17 @@
5757
<AlertIcon class="size-4" />
5858
<Alert.Title>GitOps Managed — Read Only</Alert.Title>
5959
<Alert.Description>
60-
This project is managed by GitOps (<strong>{project.gitOpsManagedBy}</strong>). The compose
61-
file is read-only and can only be changed via your Git repository.
60+
This project is managed by GitOps (<strong>{project.gitOpsManagedBy}</strong>). The compose file is read-only and can only
61+
be changed via your Git repository.
6262
</Alert.Description>
6363
</Alert.Root>
6464
{/if}
6565

6666
<div class="bg-muted flex items-start gap-2 rounded-lg border px-4 py-3 text-sm">
6767
<span>
6868
Editing <strong>{fileTitle}</strong> for project
69-
<a href="/projects/{project.id}" class="text-primary font-medium hover:underline"
70-
>{project.name}</a
71-
>. This container runs as the <strong>{serviceName}</strong> service.
69+
<a href="/projects/{project.id}" class="text-primary font-medium hover:underline">{project.name}</a>. This container runs as
70+
the <strong>{serviceName}</strong> service.
7271
</span>
7372
</div>
7473

0 commit comments

Comments
 (0)