crash.software
Projects
Pull Requests
Issues
Builds
Hunt3r
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
Hunt3r
Commits
0ce6b6cd
🤬
Sign In
Merge
pull request #290
from EasyRecon/hackeroneAPI
[FIX] missing icon for some technologie replace by generic icon
JoMar
committed with
GitHub
2 years ago
0ce6b6cd
2 parents
7f5c094b
1cca0395
Total 3 files
Show one by one
■
■
■ ■ ■ ■
frontend/src/app/pages/subdomains/subdomains.component.html
skipped 116 lines
117
117
<div class="badge">
118
118
<div class="ImageTech">
119
119
<span>
120
-
<img src="/assets/icons/{{getImgTech(techno.name)}}">
120
+
<img src="/assets/icons/{{getImgTech(techno.name)}}"
>
121
121
</span>
122
122
</div>
123
123
<div class="name">
skipped 50 lines
All occurrences
■ ■ ■ ■ ■
■
frontend/src/app/pages/subdomains/subdomains.component.ts
skipped 97 lines
98
98
}
99
99
getAllProperties(){
100
100
this.httpClient.get<{}>('/assets/json/icon.json').subscribe( (result)=> {
101
+
if(this.techno_icon != null)
101
102
this.techno_icon=result
102
103
})
103
104
}
104
105
getImgTech(techno:any){
105
-
return
this.techno_icon[techno as keyof typeof this.techno_icon]
106
+
let
icon
=
this.techno_icon[techno as keyof typeof this.techno_icon]
107
+
if(icon != null ) return icon
108
+
else return "noPicture.png"
109
+
106
110
}
107
111
}
108
112
All occurrences
frontend/src/assets/icons/noPicture.png
Please wait...
Page is in error, reload to recover