feat(manifest): show supported content types for each config/handler
This commit is contained in:
parent
12b31835cb
commit
23eb87e9db
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ export const buildManifest = (handlers: Handler[], config: Config): ManifestWith
|
|||
manifest.config.push({
|
||||
key: handler.id,
|
||||
type: 'checkbox',
|
||||
title: `${handler.languages.map(language => flag(language) + ' ' + language.toUpperCase()).join(', ')} | ${handler.label}`,
|
||||
title: `${handler.languages.map(language => `${flag(language)} ${language.toUpperCase()}`).join(', ')} | ${handler.label} (${handler.contentTypes.join(', ')})`,
|
||||
...(handler.id in config && { default: 'checked' }),
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue