vuex-undo-redo icon indicating copy to clipboard operation
vuex-undo-redo copied to clipboard

issue with Vue-Idle

Open Abdul-develop opened this issue 2 years ago • 0 comments

I am using Vue-Idle ,so after 30 second new mtation run ,which make "redo" stack empty.. because in plugin code Undone array become empty on new mutation. created() { if (this.$store) { this.$store.subscribe(mutation => { if (mutation.type !== EMPTY_STATE && this.ignoreMutations.indexOf(mutation.type) === -1) { this.done.push(mutation); } if (this.newMutation) {
this.undone = []; } This array casue issue after idle mutation and redo button change to disbaled }); } },

Abdul-develop avatar Jun 12 '22 19:06 Abdul-develop