Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit975ea23

Browse files
authored
fix: display all available settings (#16798)
Fixes:#15420
1 parent84881a0 commit975ea23

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

‎site/src/pages/DeploymentSettingsPage/OptionsTable.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,6 @@ const OptionsTable: FC<OptionsTableProps> = ({ options, additionalValues }) => {
4949
</TableHead>
5050
<TableBody>
5151
{Object.values(options).map((option)=>{
52-
if(
53-
option.value===null||
54-
option.value===""||
55-
option.value===undefined
56-
){
57-
returnnull;
58-
}
5952
return(
6053
<TableRowkey={option.flag}className={`option-${option.flag}`}>
6154
<TableCell>

‎site/src/pages/DeploymentSettingsPage/optionValue.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ export function optionValue(
5151
break;
5252
}
5353

54+
if(!option.value){
55+
return"";
56+
}
57+
5458
// We show all experiments (including unsafe) that are currently enabled on a deployment
5559
// but only show safe experiments that are not.
5660
// biome-ignore lint/suspicious/noExplicitAny: opt.value is any
@@ -59,7 +63,6 @@ export function optionValue(
5963
experimentMap[v]=true;
6064
}
6165
}
62-
6366
returnexperimentMap;
6467
}
6568
default:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp