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

move SI notes into a TT

parent e966da4c
No related branches found
No related tags found
No related merge requests found
...@@ -67,6 +67,9 @@ App.UI.SlaveInteract.generateRows = function(array, slave, category, accessCheck ...@@ -67,6 +67,9 @@ App.UI.SlaveInteract.generateRows = function(array, slave, category, accessCheck
App.UI.DOM.link( App.UI.DOM.link(
`${item.text} `, `${item.text} `,
() => { click(item); }, () => { click(item); },
[],
"",
item.note ? item.note : ""
) )
); );
...@@ -75,11 +78,6 @@ App.UI.SlaveInteract.generateRows = function(array, slave, category, accessCheck ...@@ -75,11 +78,6 @@ App.UI.SlaveInteract.generateRows = function(array, slave, category, accessCheck
FS.style.fontStyle = "italic"; FS.style.fontStyle = "italic";
link.appendChild(FS); link.appendChild(FS);
} }
// add a note node if required
if (item.note) {
link.appendChild(App.UI.DOM.makeElement('span', ` ${item.note}`, 'note'));
}
} }
linkArray.push(link); linkArray.push(link);
} }
......
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