Updated all global and local client packages

* Tweaked sessions to be a little more reliable on mobile
This commit is contained in:
Max G
2020-06-21 02:07:36 +00:00
parent 0bbdda9a2a
commit 8b711ab508
8 changed files with 245 additions and 102 deletions

View File

@@ -57,7 +57,7 @@ export default {
// console.log(response.headers.remaininguses)
//Look at remaining uses of token, if its less than five, request a new one
if(response.headers.remaininguses < 10 && !this.fetchingInProgress && !this.blockUntilNextRequest){
if(response.headers.remaininguses < 15 && !this.fetchingInProgress && !this.blockUntilNextRequest){
this.fetchingInProgress = true
const currentToken = localStorage.getItem('loginToken')
this.$io.emit('renew_session_token', currentToken)

View File

@@ -29,7 +29,7 @@ import 'fomantic-ui-css/components/segment.css'
import 'fomantic-ui-css/components/label.css'
//Overwrite and site styles and themes and good stuff
require('./assets/semantic-helper.css')
// Fonts
require('./assets/roboto-latin.woff2')

View File

@@ -10,10 +10,6 @@
<i class="green question circle outline icon"></i>
Help
</h2>
<p v-if="$store.getters.totals && $store.getters.totals['activeSessions'] > 0">
Logged in user has {{ $store.getters.totals['activeSessions'] }} active sessions.
</p>
<!-- Content copied from note -->
<!-- https://www.solidscribe.com/#/notes/open/552 -->