Skip to content

Commit

Permalink
fix(component): getDownloadURL should be binded to fileRef
Browse files Browse the repository at this point in the history
  • Loading branch information
Walker Leite committed Feb 21, 2018
1 parent fac7f25 commit 258b022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ic-firebase-uploader/ic-firebase-uploader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export default {
this.$emit('uploaded', {
id,
fullPath: fileRef.fullPath,
getDownloadURL: fileRef.getDownloadURL
getDownloadURL: fileRef.getDownloadURL.bind(fileRef)
})
})
.catch(err => {
Expand Down

0 comments on commit 258b022

Please sign in to comment.