Skip to content
Bug Reports
0

Deleting Backup also selects it

FixedSeverity: LowBackups+Photo of CrazyDev22CrazyDev22

What happened? When deleting a backup it also gets selected resulting in showing this page image.png

Steps to reproduce

  1. create server
  2. create backup
  3. delete backup

Expected behavior Don't select the deleted backup, so keep showing the list of all other backups

Versions Extension version: 1.1.1 Pterodactyl Panel: 2.0.0-beta.4 Wings: 1.13.6 PHP: 8.5.13

1 reply

  1. Photo of Fravowo SubiandoFravowo SubiandoTeam

    Fixed in Backups+ v1.1.2!

    Dialog.Confirm was rendered inside ListRow, so React Portal synthetic click events inside the confirmation dialog bubbled up to ListRow's onClick handler and opened/selected the backup right as it was being deleted.

    Moving Dialog.Confirm outside ListRow resolves the race completely (verified with a new regression test in BackupsTab.spec.tsx).

Want to join the conversation? Sign in with Google or GitHub to take part — it takes one click.