Skip to content

[Bug]: Multiplying trashbins on each click #18856

Description

@swift2512

Snipe-IT Version

DEMO

PHP Version

DEMO

Composer Version

DEMO

MySQL/MariaDB version

DEMO

How did you install Snipe-IT?

Git install

Is this a fresh install or an upgrade?

Fresh install

What happened?

This behaviour is everywhere where modern UI is used (assets, accessories, people, models). Also, in list view this dialog box has word 'Delete' and this is missing in dialog box for individual items.

To reproduce

  1. Open any object that can be deleted (asset, user, location).
  2. Press 'Delete' button.
  3. Press 'Cancel' in dialog box.
  4. Press 'Delete' button.
  5. Press 'Cancel' in dialog box.
  6. Rinse and Repeat
    R: Observe number of trasbins increasing.
Image

What browsers are you seeing the problem on?

Microsoft Edge

Can you reproduce this on the public demo?

Yes

Do you have full multiple company support enabled?

Yes

If you have full multiple company support enabled, do you have location scoping to company enabled?

Yes

Application log output

Browser console output

Common Issues

  • I have searched this repo for existing issues related to my issue (including closed issues)
  • My APP_URL is set correctly in my .env file (including http or https and no trailing slash)
  • I have searched the official Snipe-IT documentation and have checked the Common Issues documentation (where applicable)
  • I have run database migrations (where applicable).
  • I have attached screenshots and/or videos of the issue (where applicable)

Code of Conduct

  • I agree to follow this project's Code of Conduct

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

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions