Skip to content

Commit 026b38f

Browse files
Fix: Render the requirement id instead of the key for "Show Requirements"
1 parent 826da57 commit 026b38f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2649,7 +2649,7 @@ function generateRequirementsHtml(requirements: any[]): string {
26492649
h1 { color: #2c3e50; }
26502650
h2 { color: #34495e; margin-top: 30px; }
26512651
.requirement { background-color: #f7f7f7; padding: 15px; margin: 10px 0; border-radius: 5px; }
2652-
.req-key { font-weight: bold; color: #2980b9; }
2652+
.req-id { font-weight: bold; color: #2980b9; }
26532653
.req-description { margin-top: 10px; color: #333333; }
26542654
</style>
26552655
</head>
@@ -2673,7 +2673,7 @@ function generateRequirementsHtml(requirements: any[]): string {
26732673
for (const req of reqs) {
26742674
htmlContent += `
26752675
<div class="requirement">
2676-
<div class="req-key">${req.Key || "No Key"}</div>
2676+
<div class="req-id">${req.ID || "No ID"}</div>
26772677
<div class="req-description">${req.Description || "No Description"}</div>
26782678
</div>
26792679
`;

0 commit comments

Comments
 (0)