Skip to content

Commit

Permalink
[FIX] Timeline badge not properly updated in certain conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
whikernel committed Mar 14, 2024
1 parent 3189180 commit c903ea5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions source/app/static/assets/css/atlantis.css
Original file line number Diff line number Diff line change
Expand Up @@ -8464,11 +8464,11 @@ body .badge-danger {
.timeline-t>li>.timeline-panel-t {
width: 50%;
background: #ffffff;
border-radius: 1.5rem;
padding: 18px;
margin-bottom: 10px;
border-radius: 18px;
margin-bottom: 9px;
position: relative;
box-shadow: 1px 1px 20px 0px rgba(69, 65, 78, 0.18);
padding: 12px 11px 6px 17px;
}

.timeline-t:before {
Expand Down
3 changes: 2 additions & 1 deletion source/app/static/assets/js/iris/case.timeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,8 @@ function buildEvent(event_data, compact, comments_map, tree, tesk, tmb, idx, rea
let hour = dta[1].split('.')[0];

let mtop_day = '';
if (!tmb.includes(day)) {

if (!tmb.includes(day) && evt.parent_event_id == null) {
tmb.push(day);
tmb_d = `<li class="time-badge${timeline_style} badge badge-dark" id="time_${idx}"><small class="">${day}</small><br/></li>`;

Expand Down

0 comments on commit c903ea5

Please sign in to comment.