Browse Source

fix emoji panel be removed bug in issue page, when the sub issue summit the duplicate emoji (#8609) (#8623)

release/v1.10
guillep2k 3 years ago
committed by Lauris BH
parent
commit
bac9424a62
  1. 2
      public/js/index.js

2
public/js/index.js

@ -306,7 +306,7 @@ function initReactionSelector(parent) {
if (resp && (resp.html || resp.empty)) {
const content = $(vm).closest('.content');
let react = content.find('.segment.reactions');
if (react.length > 0) {
if (!resp.empty && react.length > 0) {
react.remove();
}
if (!resp.empty) {

Loading…
Cancel
Save