fix: assign result of concat
This commit is contained in:
parent
abd421fa02
commit
9a2a2e7abe
2 changed files with 2 additions and 2 deletions
|
|
@ -375,7 +375,7 @@ export default class ListSettings {
|
|||
let me = this;
|
||||
|
||||
if (me.removed_fields) {
|
||||
me.removed_fields.concat(fields);
|
||||
me.removed_fields = me.removed_fields.concat(fields);
|
||||
} else {
|
||||
me.removed_fields = fields;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -231,7 +231,7 @@ Object.assign(frappe.utils, {
|
|||
if (tt && (tt.substr(0, 1)===">" || tt.substr(0, 4)===">")) {
|
||||
part.push(t);
|
||||
} else {
|
||||
out.concat(part);
|
||||
out = out.concat(part);
|
||||
out.push(t);
|
||||
part = [];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue