Merged in bugfix/PMCORE-3703 (pull request #8421)
PMCORE-3703 Approved-by: Rodrigo Quelca Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
committed by
Julio Cesar Laura Avendaño
commit
6537a5cf83
@@ -802,7 +802,7 @@ export default {
|
||||
if (that.availableItems[that.itemMap[item.field]]) {
|
||||
newItems.push(that.availableItems[that.itemMap[item.field]]);
|
||||
} else {
|
||||
product = this.filterItemFactory(item)
|
||||
product = this.filterItemFactory(item);
|
||||
if (product) {
|
||||
newItems.push(product);
|
||||
}
|
||||
@@ -837,9 +837,9 @@ export default {
|
||||
filterItemFactory(item) {
|
||||
let product;
|
||||
if (item.type === "DATETIME") {
|
||||
product= {...this.customItems["DATETIME"]};
|
||||
product= _.cloneDeep(this.customItems["DATETIME"]);
|
||||
} else {
|
||||
product = {...this.customItems["VARCHAR"]};
|
||||
product = _.cloneDeep(this.customItems["VARCHAR"]);
|
||||
}
|
||||
product.title += " " + item.name;
|
||||
product.id = item.field;
|
||||
|
||||
Reference in New Issue
Block a user