Support empty application in page

This commit is contained in:
Yang Luo
2023-05-16 22:17:39 +08:00
parent 3d9b305bbb
commit 0b5ecca5c8
6 changed files with 21 additions and 11 deletions

View File

@ -175,7 +175,7 @@ class ApplicationListPage extends BaseListPage {
// width: '600px',
render: (text, record, index) => {
const providers = text;
if (providers.length === 0) {
if (providers === null || providers.length === 0) {
return `(${i18next.t("general:empty")})`;
}