From 044c282124fd063e012d83058eab8040428650a1 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Tue, 21 Jan 2025 20:16:55 +0100 Subject: [PATCH] Both 'bool' and 'boolean' are valid types for plugins, and should be treated the same. No-Issue Signed-off-by: Felix Fontein --- src/components/render-plugin-doc.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/render-plugin-doc.tsx b/src/components/render-plugin-doc.tsx index c77fc3a8da..626e6ef34a 100644 --- a/src/components/render-plugin-doc.tsx +++ b/src/components/render-plugin-doc.tsx @@ -692,7 +692,7 @@ export class RenderPluginDoc extends Component { defaultChoice, legends = {}; - if (option['type'] === 'bool') { + if (option['type'] === 'bool' || option['type'] === 'boolean') { choices = ['true', 'false']; if (option['default'] === true) {