Remove password from accInfo
This commit is contained in:
@@ -15,11 +15,6 @@ export default function AccountsInfo() {
|
||||
console.log("CustomerEdit", account);
|
||||
}
|
||||
|
||||
function handleAccountPasswordEdit(account: AccountType) {
|
||||
//TODO: implement
|
||||
console.log("PasswordEdit", account);
|
||||
}
|
||||
|
||||
const _rows: AccountType[] = [
|
||||
{
|
||||
id: 1,
|
||||
@@ -153,17 +148,6 @@ export default function AccountsInfo() {
|
||||
width: 150,
|
||||
editable: true,
|
||||
},
|
||||
{
|
||||
field: 'password',
|
||||
headerName: t('password'),
|
||||
width: 90,
|
||||
editable: true,
|
||||
sortable: false,
|
||||
disableReorder: true,
|
||||
disableExport: true,
|
||||
renderCell: params => <IconButton onClick={() => handleAccountPasswordEdit(params.row)}> <EditIcon/>
|
||||
</IconButton>,
|
||||
},
|
||||
{
|
||||
field: 'langI18n',
|
||||
headerName: t('language'),
|
||||
|
||||
Reference in New Issue
Block a user