mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-03 20:50:19 +08:00
Add "empty" to i18n
This commit is contained in:
@ -182,7 +182,7 @@ class ProductListPage extends BaseListPage {
|
||||
render: (text, record, index) => {
|
||||
const providers = text;
|
||||
if (providers.length === 0) {
|
||||
return "(empty)";
|
||||
return `(${i18next.t("general:empty")})`;
|
||||
}
|
||||
|
||||
const half = Math.floor((providers.length + 1) / 2);
|
||||
|
Reference in New Issue
Block a user