Add Setting.getNewRowNameForTable().

This commit is contained in:
Gucheng Wang
2021-11-28 18:21:34 +08:00
parent e888ff8475
commit a04702a8d0
3 changed files with 11 additions and 2 deletions

View File

@ -38,7 +38,7 @@ class ProviderTable extends React.Component {
}
addRow(table) {
let row = {name: "Please select a provider", canSignUp: true, canSignIn: true, canUnlink: true, alertType: "None"};
let row = {name: Setting.getNewRowNameForTable(table, "Please select a provider"), canSignUp: true, canSignIn: true, canUnlink: true, alertType: "None"};
if (table === undefined) {
table = [];
}