We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5d7474 commit e15e6adCopy full SHA for e15e6ad
app/javascript/src/dashboard.js
@@ -48,7 +48,10 @@ const defineCaseContactsTable = function () {
48
orderable: false,
49
render: (data) => {
50
if (!data || !data.id) return ''
51
- return `<a href="/casa_cases/${data.id}">${data.case_number}</a>`
+ const a = document.createElement('a');
52
+ a.href = `/casa_cases/${data.id}`;
53
+ a.textContent = data.case_number;
54
+ return a.outerHTML;
55
}
56
},
57
{ // Relationship (Contact Types) column (index 4)
0 commit comments