Skip to content
Snippets Groups Projects
Commit b48477ea authored by lowercasedonkey's avatar lowercasedonkey
Browse files

nowiki fix

parent 6b008071
No related branches found
No related tags found
1 merge request!9370Make row titles in RA Summary sticky
......@@ -7,6 +7,10 @@
text-align: left;
border-collapse: separate;
empty-cells: hide;
}
.ra-sum:nth-child(even) {
background-color: #f2f2f2;
}
.ra-sum-cell {
......
......@@ -92,7 +92,8 @@ new App.DomPassage("Rules Assistant Summary", () => {
function ruleSetValueToString(v) {
if (typeof v === 'object') {
if (v.hasOwnProperty('cond') && v.hasOwnProperty('val')) {
return `<nowiki>${v.cond}</nowiki>&nbsp;${v.val}`;
console.log(v)
return `${v.cond} ${v.val}`;
} else if (v.hasOwnProperty('min') && v.hasOwnProperty('max')) {
return `${v.min} to ${v.max}`;
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment