Make the Delete account dialog more careful
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { Controller } from "@hotwired/stimulus"
|
||||
|
||||
export default class extends Controller {
|
||||
static values = { name: String }
|
||||
|
||||
dispatch() {
|
||||
document.dispatchEvent(new CustomEvent(this.nameValue, { bubbles: true }))
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user