diff --git a/app/vue/src/client/docs/extractArgTypes.ts b/app/vue/src/client/docs/extractArgTypes.ts index d2838be75cd9..509b1439d3a4 100644 --- a/app/vue/src/client/docs/extractArgTypes.ts +++ b/app/vue/src/client/docs/extractArgTypes.ts @@ -11,7 +11,7 @@ const SECTIONS = ['props', 'events', 'slots', 'methods']; function isEnum(propDef: PropDef, docgenInfo: DocgenInfo): false | PropDef { // cast as any, since "values" doesn't exist in DocgenInfo type const { type, values } = docgenInfo as any; - const matched = Array.isArray(values) && values.length && type?.name !== 'enum'; + const matched = Array.isArray(values) && values.length && type?.name === 'enum'; if (!matched) { return false;