PMCORE-3817 Authentication Sources does not work when User extended attributes is used

This commit is contained in:
Roly Gutierrez
2022-04-28 14:00:05 -04:00
parent 0f8e7b826d
commit 7eeac2f0dd
2 changed files with 18 additions and 4 deletions

View File

@@ -109,14 +109,15 @@
deleteAttributeProcess() {
this.rows.splice(this.selectedRowIndex - 1, 1);
},
saveRow(obj) {
saveRow(object) {
let obj = Object.assign({}, object);//important to clone the object
if (obj.index === null) {
delete obj.index;
this.rows.push(obj);
} else {
let i = obj.index;
delete obj.index;
this.rows[i - 1] = obj;
Object.assign(this.rows[i - 1], obj);
}
},
connectionSettings() {