Skip to content

Commit

Permalink
list fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kac89 committed Aug 20, 2024
1 parent 2411ee8 commit a998d52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/dialog-addissue/dialog-addissue.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<input cdkFocusInitial type="text" matInput placeholder="type: XSS, SQL, RCE vulnerability or custom" [formControl]="customissueform" [matAutocomplete]="auto" [matChipInputFor]="chipGrid" [matChipInputSeparatorKeyCodes]="separatorKeysCodes" (matChipInputTokenEnd)="add($event)">
<mat-autocomplete #auto="matAutocomplete" (optionSelected)="selected($event)">
<mat-option *ngFor="let option of filteredOptions | async" [value]="option.title">
{{option.title}}
<mat-icon *ngIf="option.api" color="accent" title="Remote API: {{option.apiname}} - [{{option.apiurl}}] ">public</mat-icon> {{option.title}}
</mat-option>
</mat-autocomplete>
<mat-error *ngIf="customissueform.hasError('notempty')">
Expand Down
2 changes: 1 addition & 1 deletion src/app/dialog-addissue/dialog-addissue.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,9 @@ export class DialogAddissueComponent implements OnInit {
this.http.get<any>('/assets/vulns.json?v=' + + new Date()).subscribe(res => {
this.options = [...res, ...ret];
this.optionsv = this.options;
this.getAPITemplates();
});
}
this.getAPITemplates();
});

this.http.get<any>('/assets/CWE_V.4.3.json?v=' + + new Date()).subscribe(res => {
Expand Down

0 comments on commit a998d52

Please sign in to comment.