Skip to content

Commit

Permalink
fix: invalid selected item
Browse files Browse the repository at this point in the history
The current color was not applied when we were on inspect tab

Change-Id: I1a18b1a8d29e73f5c7541ae76bef7b0a1c902c88
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
  • Loading branch information
benoitf committed Aug 8, 2022
1 parent bfc70c6 commit 5edb76e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/renderer/src/lib/ContainerDetails.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ onMount(() => {
</a>
</li>

<li class="pf-c-tabs__item" class:pf-m-current="{meta.url === '/containers/inspect'}">
<li
class="pf-c-tabs__item"
class:pf-m-current="{meta.url === `/containers/${container.id}/inspect`}">
<a
href="/containers/{container.id}/inspect"
class="pf-c-tabs__link"
Expand Down

0 comments on commit 5edb76e

Please sign in to comment.