Projects STRLCPY Hunt3r Commits 0ce6b6cd
🤬
  • ■ ■ ■ ■
    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
  • ■ ■ ■ ■ ■
    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   
  • frontend/src/assets/icons/noPicture.png
Please wait...
Page is in error, reload to recover