Skip to content

Commit

Permalink
fix: Package runtime compat is now shown properly (#878)
Browse files Browse the repository at this point in the history
Fixes #863
Fixes  #838
  • Loading branch information
EGAMAGZ authored Jan 15, 2025
1 parent d084245 commit c7a26d2
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 c7a26d2

Please sign in to comment.