Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(profile): fix profile integration #585

Merged
merged 10 commits into from
Sep 21, 2024
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
Loading