Skip to content

Commit 4f69195

Browse files
Copilotstnguyen90
andauthored
Update footer to hide version display on Cloud (#2550)
* Initial plan * Hide version display on Cloud mode Co-authored-by: stnguyen90 <1477010+stnguyen90@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: stnguyen90 <1477010+stnguyen90@users.noreply.github.com>
1 parent 8491fb2 commit 4f69195

1 file changed

Lines changed: 14 additions & 11 deletions

File tree

src/lib/layout/footer.svelte

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
<Icon size="s" icon={IconCloud} />
7777
{/if}
7878
79-
{#if $version}
79+
{#if $version && !isCloud}
8080
<Link.Anchor
8181
size="s"
8282
variant="quiet"
@@ -137,7 +137,7 @@
137137
</Link.Anchor>
138138
{/if}
139139
{#if $isSmallViewport}
140-
{#if $version}
140+
{#if $version && !isCloud}
141141
<span class="divider-wrapper">
142142
<Divider vertical />
143143
</span>
@@ -151,15 +151,18 @@
151151
style="white-space: nowrap;">
152152
Version {$version}
153153
</Link.Anchor>
154-
{#if isCloud}
155-
<Icon size="s" icon={IconCloud} />
156-
<Badge
157-
size="xs"
158-
type="success"
159-
variant="secondary"
160-
content="Generally Available"
161-
style="white-space: nowrap;" />
162-
{/if}
154+
{/if}
155+
{#if isCloud}
156+
<span class="divider-wrapper">
157+
<Divider vertical />
158+
</span>
159+
<Icon size="s" icon={IconCloud} />
160+
<Badge
161+
size="xs"
162+
type="success"
163+
variant="secondary"
164+
content="Generally Available"
165+
style="white-space: nowrap;" />
163166
{/if}
164167
{/if}
165168
</Layout.Stack>

0 commit comments

Comments
 (0)