Skip to content

Commit

Permalink
CLDR-17799 Forum, fix bug in last PR
Browse files Browse the repository at this point in the history
-Change postType to pi.postType in openPostOrReply
  • Loading branch information
btangmu committed Aug 6, 2024
1 parent afeea35 commit ffe3fa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/cldr-apps/js/src/esm/cldrForum.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ function openPostOrReply(pi) {
const subject = makePostSubject(isReply, rootPost, pi.subject);
const root = isReply ? rootPost.id : -1;
const open = isReply ? rootPost.open : true;
const typeLabel = makePostTypeLabel(postType, isReply);
const typeLabel = makePostTypeLabel(pi.postType, isReply);
const html = makePostHtml(
pi.postType,
typeLabel,
Expand Down

0 comments on commit ffe3fa3

Please sign in to comment.