You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oh, didn't notice that.
Before this, I was using from using ng2-admin and I was able to use this method to load the user picture.
Will this be considered as future feature enhancement?
Hi, our user pictures are stored remotely and i can't seem to use it with the <nb-user> component.
I am getting this warning message as follow and the picture is not shown:
WARNING: sanitizing unsafe style value url(SafeValue must use [property]=binding: blob:http://localhost:4200/30dcca0e-0630-4769-accf-4c6d72aaf61d (see http://g.co/ng/security#xss)) (see http://g.co/ng/security#xss)
My file download code as follows:
this.file.fileDownload(user.id).subscribe(res => {
var blob = res.blob();
var url = window.URL.createObjectURL(blob);
this.img = this.sanitizer.bypassSecurityTrustUrl(url);
})
<nb-user [name]="name" [picture]="img"></nb-user>
Isn't <nb-user> picture property already using property binding as stated in the warning message?
Is this a bug with the <nb-user> component?
The text was updated successfully, but these errors were encountered: