Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't undo first item in history #3

Closed
SergeBerwert opened this issue Oct 19, 2020 · 3 comments
Closed

Can't undo first item in history #3

SergeBerwert opened this issue Oct 19, 2020 · 3 comments

Comments

@SergeBerwert
Copy link

SergeBerwert commented Oct 19, 2020

Since the update to undo 1.3.0+1 I cannot undo the first element in the history. The status of the property canUndo is false although the history list still contains an element.

screenshot-undo

As you can see in the screenshot of the watch _history has one element but canUndo is false and calling the function undo dose not work. it works as expectet in version 1.1.0+1

@ductranit
Copy link
Contributor

I have the same issue, atm you can try my pull request #6 until @rodydavis can approve it

dependency_overrides:
  undo:
    git:
      url: git://github.com/ductranit/undo.git

@rodydavis
Copy link
Owner

I can make it an option, most times initial state you want to protect. But I can add a parameter 👍🏼

@rodydavis
Copy link
Owner

Fixed with version 1.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants