Skip to content

Commit

Permalink
Merge pull request #1658 from ProcessMaker/bugfix/FOUR-17354
Browse files Browse the repository at this point in the history
The Home My Cases - The ellipisis is not showed
  • Loading branch information
ryancooley authored Aug 9, 2024
2 parents 4077eb1 + 989698a commit dbd341b
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions src/components/renderer/form-requests.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
<td
v-for="(header, colIndex) in tableHeaders"
:key="`${rowIndex}-${colIndex}`"
:class="{
'pm-table-filter-applied-tbody': header.sortAsc || header.sortDesc
}"
>
<template v-if="containsHTML(getNestedPropertyValue(row, header))">
<div
Expand All @@ -24,6 +27,10 @@
v-if="header.truncate"
:target="`element-${rowIndex}-${colIndex}`"
custom-class="pm-table-tooltip"
placement="topright"
trigger="hover"
boundary="viewport"
:delay="{ show: 0, hide: 0 }"
@show="checkIfTooltipIsNeeded"
>
{{ sanitizeTooltip(getNestedPropertyValue(row, header)) }}
Expand All @@ -47,6 +54,10 @@
v-if="header.truncate"
:target="`element-${rowIndex}-${colIndex}`"
custom-class="pm-table-tooltip"
placement="topright"
trigger="hover"
boundary="viewport"
:delay="{ show: 0, hide: 0 }"
@show="checkIfTooltipIsNeeded"
>
{{ getNestedPropertyValue(row, header) }}
Expand Down Expand Up @@ -91,7 +102,7 @@ export default {
direction: "desc"
}
],
tableHeaders: [],
tableHeaders: []
};
},
computed: {
Expand Down Expand Up @@ -210,8 +221,9 @@ export default {
if (option === "case_title") {
attr[option] = value.case_title_formatted || value.case_title || "";
}
return `<a href="${this.openRequest(value)}" class="text-nowrap"
target="_blank">${attr[option]}</a>`;
return `
<a href="${this.openRequest(value)}" class="text-nowrap custom-wrap"
target="_blank">${attr[option]}</a>`;
},
openRequest(data) {
return `/requests/${data.id}`;
Expand Down

0 comments on commit dbd341b

Please sign in to comment.