Skip to content

Commit

Permalink
fix(frontend): Package runtime compat is now shown properly
Browse files Browse the repository at this point in the history
  • Loading branch information
EGAMAGZ committed Dec 20, 2024
1 parent 998ffec commit e789ad0
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions frontend/routes/package/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,15 @@ function RuntimeCompatEditorItem({ name, id, value }: {
name={id}
value={value === undefined ? "" : value ? "true" : "false"}
>
<option value="">Compatibility unknown</option>
<option value="true">✅ Supported</option>
<option value="false">❌ Not supported</option>
<option value="" selected={value === undefined}>
Compatibility unknown
</option>
<option value="true" selected={value === true}>
✅ Supported
</option>
<option value="false" selected={value === false}>
❌ Not supported
</option>
</select>
</label>
);
Expand Down

0 comments on commit e789ad0

Please sign in to comment.