🎨 Clarify data flow
This commit is contained in:
parent
e7da41591f
commit
7ccb833e5d
|
@ -135,7 +135,7 @@
|
|||
case 'video': this.addThumb('images/video.svg'); break;
|
||||
case 'image':
|
||||
window.autoOrientImage(file)
|
||||
.then(this.addThumb.bind(this));
|
||||
.then(dataURL => this.addThumb(dataURL));
|
||||
break;
|
||||
default:
|
||||
this.addThumb('images/file.svg'); break;
|
||||
|
|
Loading…
Reference in New Issue