soixantecircuits / idle-vue

Vue component wrapper for idle-js
MIT License
125 stars 40 forks source link

Update the value of the isIdle in vuex by calling a mutation. #54

Open ramadan26 opened 2 years ago

ramadan26 commented 2 years ago

I'm trying to change the boolean value of the isIdle, bypassing a boolean param to the mutation idleVue/IDLE_CHANGED. The code: this.$store.commit('idleVue/IDLE_CHANGED', false) And It does change the value of the isIdle in the store, but the timer after that doesn't work.

Do you have any idea about that?