Skip to content

Commit

Permalink
Enhance Persistence component to include team and environment details…
Browse files Browse the repository at this point in the history
… in topic links
  • Loading branch information
rbjornstad committed Dec 2, 2024
1 parent d8b9037 commit b15c6f0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/lib/components/Persistence.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@
workloadName
topic {
name
team {
slug
}
environment {
name
}
}
}
}
Expand Down Expand Up @@ -117,7 +123,7 @@
{#if acl.node.teamName !== '*'}
<li>
<a
href={`/team/${acl.node.teamName}/${$data.environment.name === 'prod-fss' ? 'prod-gcp' : $data.environment.name === 'dev-fss' ? 'dev-gcp' : $data.environment.name}/kafka/${acl.node.topic.name}`}
href={`/team/${acl.node.topic.team.slug}/${acl.node.topic.environment.name === 'prod-fss' ? 'prod-gcp' : acl.node.topic.environment.name === 'dev-fss' ? 'dev-gcp' : $data.environment.name}/kafka/${acl.node.topic.name}`}
>{acl.node.topic.name}</a
>
<code>({acl.node.access})</code>
Expand Down

0 comments on commit b15c6f0

Please sign in to comment.