Fix smart anotation to task assigned items [SCI-11897]

This commit is contained in:
Anton 2025-05-09 14:17:58 +02:00
parent fe7cf6cbb1
commit c1596b90ae
2 changed files with 10 additions and 12 deletions

View file

@ -100,6 +100,14 @@ var MyModuleRepositories = (function() {
return columns;
}
function renderSmartAnnotations() {
const scrollElement = $('#myModuleRepositoryFullViewModal .dataTables_scrollBody')[0];
scrollElement.classList.remove('sa-initialized');
window.renderElementSmartAnnotations(scrollElement, '.text-value', scrollElement);
return true;
}
function fullViewColumnDefs(tableContainer) {
let columnDefs = [{
targets: 0,
@ -344,6 +352,8 @@ var MyModuleRepositories = (function() {
}
);
}
renderSmartAnnotations();
},
stateLoadCallback: function(settings, callback) {

View file

@ -147,18 +147,6 @@
}
}
tr[data-state]:not([data-state='']) {
td.item-name::after {
@include font-small;
background-color: $color-concrete;
color: $color-silver-chalice;
content: attr(data-state);
margin-left: 20px;
padding: .3em;
white-space: nowrap;
}
}
tr[data-shared=true],
tr[data-i-shared=true] {
td.item-name::before {