cheshire-cat-ai / admin-vue

Admin panel of the Cheshire Cat AI
GNU General Public License v3.0
32 stars 28 forks source link

FIX: wipe memory modal reopen bug #64

Closed kodaline closed 9 months ago

kodaline commented 9 months ago

Problem

  1. go to Memory tab
  2. click wipe memory
  3. modal "Wipe Collection" will appear, click "Yes"
  4. click outside the modal while operation is still ongoing

issue: modal will close, once the operation is completed, modal will pop up again proposed solution: do not reopen the modal if closed wipe_memory_modal_bug.webm

Fix

Fixed by applying toggleModal only if isOpen is true.

Type of change

Please delete options that are not relevant.

Checklist: