File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
site/src/pages/DeploymentSettingsPage Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,6 @@ export function optionValue(
6
6
option : SerpentOption ,
7
7
additionalValues ?: readonly string [ ] ,
8
8
) {
9
- if ( ! option . value ) {
10
- return "" ;
11
- }
12
9
// If option annotations are present, use them to format the value.
13
10
if ( option . annotations ) {
14
11
for ( const [ k , v ] of Object . entries ( option . annotations ) ) {
@@ -54,6 +51,10 @@ export function optionValue(
54
51
break ;
55
52
}
56
53
54
+ if ( ! option . value ) {
55
+ return "" ;
56
+ }
57
+
57
58
// We show all experiments (including unsafe) that are currently enabled on a deployment
58
59
// but only show safe experiments that are not.
59
60
// biome-ignore lint/suspicious/noExplicitAny: opt.value is any
@@ -62,7 +63,6 @@ export function optionValue(
62
63
experimentMap [ v ] = true ;
63
64
}
64
65
}
65
-
66
66
return experimentMap ;
67
67
}
68
68
default :
You can’t perform that action at this time.
0 commit comments