Skip to content

Commit

Permalink
fix(profile): fix profile integration (#585)
Browse files Browse the repository at this point in the history
  • Loading branch information
Flemmli97 authored Sep 21, 2024
1 parent d9cf7a5 commit 60b3885
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib/layouts/Profile.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@
<Label text={$_("settings.profile.integration.title")} />
<div class="integrations">
{#each user.integrations as integration}
<div class="integration" style={`border-color: ${getIntegrationColor(integration)};`}>
<img class="integration-logo" src="/assets/brand/{integration.kind}.png" alt="Platform Logo" />
<Text singleLine>{integration.location}</Text>
<Button small icon appearance={Appearance.Alt} color={getIntegrationColor(integration)}>
<div class="integration" style={`border-color: ${getIntegrationColor(integration[0])};`}>
<img class="integration-logo" src="/assets/brand/{integration[0]}.png" alt="Platform Logo" />
<Text singleLine>{integration[1]}</Text>
<Button small icon appearance={Appearance.Alt} color={getIntegrationColor(integration[0])}>
<Icon icon={Shape.Popout} />
</Button>
</div>
Expand Down

0 comments on commit 60b3885

Please sign in to comment.