PMCORE-3703

PMCORE-3703 update
This commit is contained in:
henry jordan
2022-04-13 16:00:36 +00:00
parent 4d262146bd
commit b42bcd8699

View File

@@ -802,7 +802,7 @@ export default {
if (that.availableItems[that.itemMap[item.field]]) { if (that.availableItems[that.itemMap[item.field]]) {
newItems.push(that.availableItems[that.itemMap[item.field]]); newItems.push(that.availableItems[that.itemMap[item.field]]);
} else { } else {
product = this.filterItemFactory(item) product = this.filterItemFactory(item);
if (product) { if (product) {
newItems.push(product); newItems.push(product);
} }
@@ -837,9 +837,9 @@ export default {
filterItemFactory(item) { filterItemFactory(item) {
let product; let product;
if (item.type === "DATETIME") { if (item.type === "DATETIME") {
product= {...this.customItems["DATETIME"]}; product= _.cloneDeep(this.customItems["DATETIME"]);
} else { } else {
product = {...this.customItems["VARCHAR"]}; product = _.cloneDeep(this.customItems["VARCHAR"]);
} }
product.title += " " + item.name; product.title += " " + item.name;
product.id = item.field; product.id = item.field;