Skip to content

Commit

Permalink
Bugfix: Modificato controllo per caricamento immagine dominio
Browse files Browse the repository at this point in the history
  • Loading branch information
simo-git committed Mar 11, 2021
1 parent 41767a3 commit 9498072
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -150,7 +150,7 @@ export class DominioViewComponent implements IFormComponent, OnInit, AfterViewIn
protected _reloadFile(_url: string, bypass: boolean = false) {
let _result = _url;

if(!bypass && _url.indexOf('svg') != -1 && _url.indexOf('base64,') != -1) {
if(!bypass && _url.indexOf('data:image/svg+xml;') != -1 && _url.indexOf('base64,') != -1) {
let _hasColor: boolean = false;
let _bsvg = _url.split('base64,')[1];
let _xsvg = atob(_bsvg);
Expand Down

0 comments on commit 9498072

Please sign in to comment.