Support WeCom Internal sub type.

This commit is contained in:
Gucheng Wang
2022-01-28 23:57:54 +08:00
parent 479daf4fa4
commit fbc73de3bb
11 changed files with 130 additions and 25 deletions

View File

@ -437,6 +437,19 @@ export function getProviderTypeOptions(category) {
}
}
export function getProviderSubTypeOptions(type) {
if (type === "WeCom") {
return (
[
{id: 'Internal', name: 'Internal'},
{id: 'Third-party', name: 'Third-party'},
]
);
} else {
return [];
}
}
export function renderLogo(application) {
if (application === null) {
return null;