We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddcfe08 commit f1b7e52Copy full SHA for f1b7e52
Studies/resources/views/studiesOverview.html
@@ -43,15 +43,15 @@
43
});
44
45
dataByCategory[row['CategoryId/Label']] = dataByCategory[row['CategoryId/Label']] || []
46
- dataByCategory[row['CategoryId/Label']].push(`<li><a href="${dsUrl}">${row.Label}</a></li>`)
+ dataByCategory[row['CategoryId/Label']].push($(`<li><a href="${dsUrl}">${row.Label}</a></li>`))
47
})
48
49
Object.keys(dataByCategory).sort().forEach(category => {
50
div.append('<h4 style="font-weight: bold;">' + category + '</h4>').append('<ul>')
51
+ const ul = div.children('ul')[0]
52
dataByCategory[category].forEach(item => {
- div.append(item)
53
+ ul.append(item[0])
54
- div.append('</ul>')
55
56
57
$('#' + webpart.wrapperDivId).append(div)
0 commit comments