Skip to content

Fix 'Reset' button resetting 'Last Solved On' dates before modal confirmation. #381

@AvilaAndre

Description

@AvilaAndre

Description

When the 'Reset' button is pressed a modal is shown and the list checkedAt gets cleared before the confirmation.
It is expected that the list is only deleted once the reset is confirmed.

How to reproduce:

  1. Mark some questions as completed - the date will be shown on the right and will appear on local storage.
  2. Press the 'Reset' button and do nothing else.
  3. Reload the page to be visualize the missing dates on the 'Last Solved On' column.

Screenshots

After marking two questions as completed.

Image

After opening the 'Reset' modal.

Image

After reloading the page.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions