Skip to content

Commit bac9424

Browse files
guillep2klafriks
authored andcommitted
fix emoji panel be removed bug in issue page, when the sub issue summit the duplicate emoji (#8609) (#8623)
1 parent afeab94 commit bac9424

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/js/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ function initReactionSelector(parent) {
306306
if (resp && (resp.html || resp.empty)) {
307307
const content = $(vm).closest('.content');
308308
let react = content.find('.segment.reactions');
309-
if (react.length > 0) {
309+
if (!resp.empty && react.length > 0) {
310310
react.remove();
311311
}
312312
if (!resp.empty) {

0 commit comments

Comments
 (0)