Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriele Panico committed Nov 6, 2024
1 parent 2f5c968 commit d586ee7
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,10 @@ export class CDSDetailBotDetailComponent extends BotsBaseComponent implements On
if (this.selectedChatbot._id) {
let url = this.imageRepoService.getImagePhotoUrl(this.selectedChatbot._id)
this.checkImageExists(url, (existImage)=> {
existImage? this.selectedChatbot.imageURL = url: null;
if(existImage){
this.selectedChatbot.imageURL = url;
this.imageURL = url
}
})
}

Expand Down

0 comments on commit d586ee7

Please sign in to comment.