Skip to content

Commit ac6fe74

Browse files
authored
Merge pull request #4309 from OSC/bp-ps-bugfix-3.1
backport fix path selector and broken tests (#4302) to 3.1
2 parents c1c515d + 3dc25ac commit ac6fe74

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

apps/dashboard/app/javascript/path_selector/path_selector_data_table.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ export class PathSelectorTable {
6868
data: 'name',
6969
className: 'text-break',
7070
render: (data, _type, _row, _meta) => {
71-
return `<span>${data}</span>`;
71+
const ele = document.createElement('span');
72+
ele.textContent = data;
73+
return ele.outerHTML;
7274
}
7375

7476
}

0 commit comments

Comments
 (0)