Skip to content

Attached items are not deleting in single click #884

Description

@durgasravani23

For Bug Reports

  • BookStack Version: v0.22.0
  • PHP Version: 7.x
  • MySQL Version: 10.x
Expected Behavior

Clicking on delete icon should delete the file.

Current Behavior

File is getting deleted on second click on the delete icon.

Steps to Reproduce
  1. Open a page.
  2. Upload one or more files (any file type)
  3. Go to attached items tab
  4. Click on the delete icon (x) - File will not be deleted.
  5. Click on the delete icon (x) again - File will be deleted.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions