fix(ui/modal): ensure modal is reusable (confirm button was disabled on previous use)
This commit is contained in:
@@ -218,6 +218,8 @@ const Modal = {
|
|||||||
open() {
|
open() {
|
||||||
if (!this.overlay) return;
|
if (!this.overlay) return;
|
||||||
|
|
||||||
|
this.confirmBtn.disabled = false;
|
||||||
|
|
||||||
// Show overlay
|
// Show overlay
|
||||||
this.overlay.classList.remove('hidden');
|
this.overlay.classList.remove('hidden');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user