Update the value of the isIdle in vuex by calling a mutation.
Opened this issue · 0 comments
ramadan26 commented
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?