PMCORE-3446: usto Case List Labels should be displayed as the labels defined in the Report Table Build 3.7.0-5474

This commit is contained in:
Rodrigo Quelca
2021-10-25 14:46:55 +00:00
parent 9242c78268
commit 19f2aca60b
2 changed files with 5 additions and 1 deletions

View File

@@ -43,7 +43,7 @@
<div slot="case_number" slot-scope="props">
{{ props.row.CASE_NUMBER }}
</div>
<div slot="thread_title" slot-scope="props">
<div slot="case_title" slot-scope="props">
{{ props.row.THREAD_TITLE }}
</div>
<div slot="process_name" slot-scope="props">
@@ -747,6 +747,7 @@ export default {
product,
newItems = [];
that.filterItems = [];
that.headings = {};
response.data.columns.forEach((item) => {
if (item.enableFilter) {
if (that.availableItems[that.itemMap[item.field]]) {
@@ -758,6 +759,7 @@ export default {
}
}
}
that.headings[item.field] = item.name;
columns.push(item.field);
});
that.filterItems = newItems;

View File

@@ -138,6 +138,7 @@ export default {
product,
newItems = [];
that.filterItems = [];
that.headings = {};
response.data.columns.forEach((item) => {
if (item.enableFilter) {
if (that.availableItems[that.itemMap[item.field]]) {
@@ -149,6 +150,7 @@ export default {
}
}
}
that.headings[item.field] = item.name;
columns.push(item.field);
});
that.filterItems = newItems;