Commit iniziale di eminuxCRM: CRM Rails con pipeline, campagne email e Docker.
Include autenticazione, progetti isolati, mail marketing HTML con SMTP, test A/B e editor WYSIWYG. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { Controller } from "@hotwired/stimulus"
|
||||
|
||||
export default class extends Controller {
|
||||
static targets = ["source", "checkbox"]
|
||||
|
||||
toggle() {
|
||||
const checked = this.sourceTarget.checked
|
||||
this.checkboxTargets.forEach((el) => {
|
||||
if (!el.disabled) el.checked = checked
|
||||
})
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user