mirror of
https://github.com/portainer/portainer.git
synced 2025-08-09 15:55:23 +02:00
add env selector
This commit is contained in:
parent
eea5543c61
commit
cc0b093c49
1 changed files with 4 additions and 1 deletions
|
@ -68,7 +68,10 @@ export function EnvironmentItem({
|
||||||
<div className="ml-2 flex justify-center self-center">
|
<div className="ml-2 flex justify-center self-center">
|
||||||
<EnvironmentIcon type={environment.Type} />
|
<EnvironmentIcon type={environment.Type} />
|
||||||
</div>
|
</div>
|
||||||
<div className="ml-3 mr-auto flex flex-col items-start justify-center gap-3">
|
<div
|
||||||
|
className="ml-3 mr-auto flex flex-col items-start justify-center gap-3"
|
||||||
|
data-cy="component-environmentLink" // using this div for data-cy ensures the mouse click doesn't overlap with EnvironmentBrowseButtons (absolute position)
|
||||||
|
>
|
||||||
<div className="flex flex-wrap items-center gap-x-4 gap-y-2">
|
<div className="flex flex-wrap items-center gap-x-4 gap-y-2">
|
||||||
<span className="font-bold">{environment.Name}</span>
|
<span className="font-bold">{environment.Name}</span>
|
||||||
{isEdge ? (
|
{isEdge ? (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue