fix turbo on dashboard + optimize a few more things.

This commit is contained in:
KingKDot
2026-07-13 21:54:21 -05:00
parent b08d8ba028
commit feb712e2de
16 changed files with 194 additions and 83 deletions
@@ -0,0 +1,12 @@
import { Controller } from "/vendor/hotwired/stimulus.js";
export default class extends Controller {
static values = { message: String };
confirm(event) {
if (!this.hasMessageValue || window.confirm(this.messageValue)) return;
event.preventDefault();
event.stopImmediatePropagation();
}
}