()
| 25 | } |
| 26 | |
| 27 | async function markLocalHotfixes(): Promise<void> { |
| 28 | for (const [feature, relatedIssue] of await getLocalHotfixes()) { |
| 29 | if (!importedFeatures.includes(feature)) { |
| 30 | continue; |
| 31 | } |
| 32 | |
| 33 | const input = $<HTMLInputElement>('#' + feature); |
| 34 | input.disabled = true; |
| 35 | input.removeAttribute('name'); |
| 36 | $(`.feature-name[for="${feature}"]`).after( |
| 37 | <span className="hotfix-notice">{' '}(Disabled due to {createRghIssueLink(relatedIssue, true)})</span>, |
| 38 | ); |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | function buildFeatureCheckbox({id, description, screenshot}: FeatureMeta): HTMLElement { |
| 43 | return ( |
no test coverage detected