10000 one more time · coder/coder@27fce3b · GitHub
[go: up one dir, main page]

Skip to content

Commit 27fce3b

Browse files
committed
one more time
1 parent 7590fb8 commit 27fce3b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

site/src/pages/DeploymentSettingsPage/optionValue.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ export function optionValue(
66
option: SerpentOption,
77
additionalValues?: readonly string[],
88
) {
9-
if (!option.value) {
10-
return "";
11-
}
129
// If option annotations are present, use them to format the value.
1310
if (option.annotations) {
1411
for (const [k, v] of Object.entries(option.annotations)) {
@@ -54,6 +51,10 @@ export function optionValue(
5451
break;
5552
}
5653

54+
if (!option.value) {
55+
return "";
56+
}
57+
5758
// We show all experiments (including unsafe) that are currently enabled on a deployment
5859
// but only show safe experiments that are not.
5960
// biome-ignore lint/suspicious/noExplicitAny: opt.value is any
@@ -62,7 +63,6 @@ export function optionValue(
6263
experimentMap[v] = true;
6364
}
6465
}
65-
6666
return experimentMap;
6767
}
6868
default:

0 commit comments

Comments
 (0)
0