Skip to content

Commit

Permalink
[Bug-fix] Fixed incorrect media archivem emblem being displayed with …
Browse files Browse the repository at this point in the history
…reinit of media cards
  • Loading branch information
marktaipan-cvisionai authored and jrtcppv committed Dec 17, 2021
1 parent 3f3fd24 commit 4696dbb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main/static/js/project-detail/media-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,11 @@ class MediaCard extends TatorElement {
this._archiveUpEmblem.style.display = "flex";
this._archiveUpEmblem.setAttribute("tooltip", "Pending Live");
}
else {
this._archiveDownEmblem.style.display = "none";
this._archiveUpEmblem.style.display = "none";
this._archiveEmblem.style.display = "none";
}
}

get media() {
Expand Down

0 comments on commit 4696dbb

Please sign in to comment.