fix: filter out (none) tags from patchsets
- Modified cvs_client.py to skip tags with value '(none)' using case-insensitive comparison - Updated ui.js to also check for '(none)' tags when displaying patchsets - Patchsets without tags no longer show any tag badge in the UI
This commit is contained in:
parent
d3b40ae93f
commit
df78bab6f4
2 changed files with 5 additions and 2 deletions
2
ui/ui.js
2
ui/ui.js
|
|
@ -509,7 +509,7 @@ class UIManager {
|
|||
<div class="patchset-number">PatchSet #${ps.patchset}</div>
|
||||
<div class="patchset-log-section">
|
||||
<div class="patchset-log">${ps.log ? this.escapeHtml(ps.log) : ''}</div>
|
||||
${ps.tag && ps.tag !== 'N/A' ? `<span class="patchset-tag">${ps.tag}</span>` : ''}
|
||||
${ps.tag && ps.tag !== 'N/A' && ps.tag.toLowerCase() !== '(none)' ? `<span class="patchset-tag">${ps.tag}</span>` : ''}
|
||||
</div>
|
||||
<div class="patchset-author">${ps.author || 'Unknown'}</div>
|
||||
<div class="patchset-date" title="${ps.date || 'N/A'}">${this.getRelativeDate(ps.date) || 'N/A'}</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue