File tree Expand file tree Collapse file tree
apps/web/src/components/settings Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1353,6 +1353,7 @@ function EnvironmentLabelControl({
13531353 canRename,
13541354 showValue = false ,
13551355 valueClassName = "text-[13px] text-muted-foreground" ,
1356+ valueElement : ValueElement = "span" ,
13561357} : {
13571358 readonly environmentId : EnvironmentId ;
13581359 readonly label : string ;
@@ -1363,6 +1364,7 @@ function EnvironmentLabelControl({
13631364 readonly canRename : boolean ;
13641365 readonly showValue ?: boolean ;
13651366 readonly valueClassName ?: string ;
1367+ readonly valueElement ?: "span" | "h3" ;
13661368} ) {
13671369 const renameEnvironment = useAtomCommand ( serverEnvironment . updateEnvironmentLabel , {
13681370 reportFailure : false ,
@@ -1406,7 +1408,7 @@ function EnvironmentLabelControl({
14061408 if ( ! editing || ! canRename ) {
14071409 return (
14081410 < >
1409- { showValue ? < span className = { valueClassName } > { label } </ span > : null }
1411+ { showValue ? < ValueElement className = { valueClassName } > { label } </ ValueElement > : null }
14101412 { canRename ? (
14111413 < Button
14121414 size = "icon-micro"
@@ -1604,6 +1606,7 @@ function SavedBackendListRow({
16041606 canRename = { canRename }
16051607 showValue
16061608 valueClassName = "text-sm font-medium text-foreground"
1609+ valueElement = "h3"
16071610 />
16081611 </ div >
16091612 { metadataBits . length > 0 ? (
You can’t perform that action at this time.
0 commit comments