Skip to content

Commit

Permalink
fix: 草率了
Browse files Browse the repository at this point in the history
  • Loading branch information
linicam committed Nov 1, 2024
1 parent d857b3f commit 324b0e3
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions packages/front-end/src/components/quartzTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,15 +183,11 @@ export const QuartzTable = (props: {
}}
>
<Typography>
{
optionLabels[
index < 1
? 'disabled'
: index > 1
? 'weighted'
: 'enabled'
]
}
{index > 1
? index - 1
: optionLabels[
index < 1 ? 'disabled' : 'enabled'
]}
</Typography>
{index === 0 && (
<ClearIcon
Expand Down

0 comments on commit 324b0e3

Please sign in to comment.