aboutsummaryrefslogtreecommitdiff
path: root/src/components/mao-tutoring.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/components/mao-tutoring.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/components/mao-tutoring.js')
-rw-r--r--src/components/mao-tutoring.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/mao-tutoring.js b/src/components/mao-tutoring.js
index 423effd..a18cc2c 100644
--- a/src/components/mao-tutoring.js
+++ b/src/components/mao-tutoring.js
@@ -318,7 +318,7 @@ class MaoTutoring extends connect(store)(PageViewElement) {
}
requestHours() {
- if(this.shadowRoot && !this.isUploaded) {
+ if(this.shadowRoot && this.isUploaded) {
var timeElement = this.shadowRoot.getElementById('timeField');
var traineeElement = this.shadowRoot.getElementById('traineeField');
var subjectElement = this.shadowRoot.getElementById('subjectField');
@@ -342,7 +342,7 @@ class MaoTutoring extends connect(store)(PageViewElement) {
const subject = subjectElement .value;
const date = dateElement .value;
- store.dispatch(requestHours(timeHours, traineeName, subject, location, date, this.pictureName));
+ store.dispatch(requestHours(timeHours, traineeName, location, subject, date, this.pictureName));
timeElement .value = "";
traineeElement .value = "";