aboutsummaryrefslogtreecommitdiff
path: root/src/actions/firebaseStorage.js
diff options
context:
space:
mode:
authorMichael Foiani <mfoiani2019@communiyschoolnaples.org>2018-08-13 16:22:44 -0400
committerMichael Foiani <mfoiani2019@communiyschoolnaples.org>2018-08-13 16:22:44 -0400
commitf14bf1edb18b02359fefb61f6d5f342892f7056c (patch)
treeffb354db6491f40620bf36f555fbb8f844958935 /src/actions/firebaseStorage.js
parent6e8b40c5d78eb6d6cfb3c4d8f2d84b53e55523d0 (diff)
Trying to find ways to get img in firebase storage to show in admin panel when viewing requests.
Diffstat (limited to 'src/actions/firebaseStorage.js')
-rw-r--r--src/actions/firebaseStorage.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/actions/firebaseStorage.js b/src/actions/firebaseStorage.js
index 0367a38..d6a2192 100644
--- a/src/actions/firebaseStorage.js
+++ b/src/actions/firebaseStorage.js
@@ -14,6 +14,8 @@ export const uploadPicture = (file, uploader) => (dispatch, getState) => {
console.log(percentage);
uploader.value = percentage;
});
+
+ dispatch(updatePicture(file.name));
}
}