Skip to content

Commit

Permalink
Both 'bool' and 'boolean' are valid types for plugins, and should be …
Browse files Browse the repository at this point in the history
…treated the same.

No-Issue
Signed-off-by: Felix Fontein <[email protected]>
  • Loading branch information
felixfontein committed Jan 21, 2025
1 parent 07cc179 commit 044c282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/render-plugin-doc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ export class RenderPluginDoc extends Component<IProps, IState> {
defaultChoice,
legends = {};

if (option['type'] === 'bool') {
if (option['type'] === 'bool' || option['type'] === 'boolean') {
choices = ['true', 'false'];

if (option['default'] === true) {
Expand Down

0 comments on commit 044c282

Please sign in to comment.