Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
recrwplay committed Aug 22, 2024
1 parent 88bcfbc commit 2da41fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/60-docs-roles.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ document.addEventListener('DOMContentLoaded', function () {

// label could be eg aura-db-enterprise - we use the full label
// label could be eg new-5.20 - we use 'new' for the label and add the version as text
label = (rolesData[label] && rolesData[label].labelCategory !== 'version') ? label : labelParts.slice(0,-1).join('-')
label = (rolesData[label] && rolesData[label].labelCategory !== 'version') ? label : labelParts.slice(0, -1).join('-')

// ignore labels that are not defined in rolesData
if (!rolesData[label]) {
Expand Down

0 comments on commit 2da41fe

Please sign in to comment.