Skip to content

Commit 2535dc7

Browse files
committed
Show container platform dropdown only in the Testing tab
1 parent 888038a commit 2535dc7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/app/features/containers/pages/container/container.component.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@ <h2>{{ container.name }}</h2>
119119
{ id: TabName.TESTING, label: 'Testing', active: selectedTab() === TabName.TESTING },
120120
{ id: TabName.DOCKERFILE, label: 'Dockerfile', active: selectedTab() === TabName.DOCKERFILE }
121121
]" />
122-
<app-dropdown [items]="containerPlatforms" [(selected)]="selectedContainerPlatform"/>
122+
@if (selectedTab() === TabName.TESTING) {
123+
<app-dropdown [items]="containerPlatforms" [(selected)]="selectedContainerPlatform"/>
124+
}
123125
</div>
124126
@if (selectedTab() === 'readme') {
125127
<markdown

0 commit comments

Comments
 (0)