Skip to content

Commit

Permalink
toekn refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
ronan18 committed Apr 24, 2020
1 parent a9d4bed commit 6618034
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,8 @@ let focus, blur, tokenRefresh
this.$store.commit("user", user)
this.$store.commit("token", idToken)
this.firebaseLoaded = true
tokenRefresh = window.setInterval(getToken("interval"), 900000)
focus = window.addEventListener("focus", getToken("focus"), false);
blur = window.addEventListener("blur", getToken("blur"), false);
tokenRefresh = window.setInterval(function (){getToken("interval")}, 900000)
focus = window.addEventListener("focus", function() {getToken("focus")}, false);
this.loadBasicData()
}).catch(function (error) {
Expand Down
2 changes: 1 addition & 1 deletion src/assets/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ html, body, #app, .app__container {
}
}

.appliedPerson:hover {
.appliedPerson:hover, .appliedPerson.active {
@include card--hover;
}

Expand Down
2 changes: 1 addition & 1 deletion src/views/Review.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

</div>
<div class="people">
<div @click="openPerson(app)" :key="app['_id']" v-for="app in searched" class="appliedPerson">
<div @click="openPerson(app)" :class="{active:chosen == app['_id']} " :key="app['_id']" v-for="app in searched" class="appliedPerson">
<p>{{app.firstName}} {{app.lastName}}</p>
<p>{{app.application.school? app.application.school : app.application.company}}</p>
<p class="right">{{app.role}}</p>
Expand Down

0 comments on commit 6618034

Please sign in to comment.