Skip to content

Commit 1ab7cad

Browse files
committed
chore: remove issue button from details
1 parent 750be3f commit 1ab7cad

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
{
173173
"command": "weAudit.restoreFinding",
174174
"title": "Restore Finding",
175-
"icon": "$(check)"
175+
"icon": "$(reply)"
176176
},
177177
{
178178
"command": "weAudit.deleteFinding",

src/panels/findingDetails.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22
<div class="detailsActions" id="finding-actions">
33
<vscode-button id="action-mark-true-positive">Mark True Positive</vscode-button>
44
<vscode-button id="action-mark-false-positive">Mark False Positive</vscode-button>
5-
<vscode-button id="action-open-github-issue">Open Github Issue</vscode-button>
65
</div>
76
<div class="detailsActions" id="note-actions">
87
<vscode-button id="action-resolve-note">Resolve</vscode-button>
9-
<vscode-button id="action-open-github-issue-note">Open Github Issue</vscode-button>
108
</div>
119
<div class="detailsDiv">
1210
<span class="detailSpan">Title:</span>

src/webview/findingDetailsMain.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,11 @@ function main(): void {
3737
const noteActionsRow = document.getElementById("note-actions") as HTMLDivElement;
3838
const markTruePositiveButton = document.getElementById("action-mark-true-positive") as Button | null;
3939
const markFalsePositiveButton = document.getElementById("action-mark-false-positive") as Button | null;
40-
const openGithubIssueButton = document.getElementById("action-open-github-issue") as Button | null;
4140
const resolveNoteButton = document.getElementById("action-resolve-note") as Button | null;
42-
const openGithubIssueNoteButton = document.getElementById("action-open-github-issue-note") as Button | null;
4341

4442
registerActionButton(markTruePositiveButton, "mark-true-positive");
4543
registerActionButton(markFalsePositiveButton, "mark-false-positive");
46-
registerActionButton(openGithubIssueButton, "open-github-issue");
4744
registerActionButton(resolveNoteButton, "resolve-note");
48-
registerActionButton(openGithubIssueNoteButton, "open-github-issue");
4945

5046
const resolutionFindingRow = document.getElementById("resolution-row-finding") as HTMLDivElement;
5147
const resolutionNoteRow = document.getElementById("resolution-row-note") as HTMLDivElement;

0 commit comments

Comments
 (0)