Skip to content

Commit fffd3a0

Browse files
committed
hide delete issue comment history button
1 parent 5eb88ab commit fffd3a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web_src/js/features/repo-issue-content.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ function showContentHistoryDetail(issueBaseUrl, commentId, historyId, itemTitleH
1919
<div class="ui dropdown right dialog-header-options" style="display: none; margin-right: 50px;">
2020
${i18nTextOptions} <i class="dropdown icon"></i>
2121
<div class="menu">
22-
<div class="item red text" data-option-item="delete">${i18nTextDeleteFromHistory}</div>
22+
<!-- hide delete issue comment history button -->
23+
<div class="item red text" data-option-item="delete" style="display: none">${i18nTextDeleteFromHistory}</div>
2324
</div>
2425
</div>
2526
</div>

0 commit comments

Comments
 (0)