Major features finished
This commit is contained in:
@@ -4,10 +4,10 @@ export default class extends Controller {
|
||||
static targets = ["exceptionItemTemplate", "exceptionItemContainer", "exceptionItem", "exceptionItemButton"]
|
||||
|
||||
connect() {
|
||||
if (this.exceptionItemTargets.length > 0) {
|
||||
const content = this.#newExemptionItem()
|
||||
this.exceptionItemButtonTarget.insertAdjacentHTML('beforebegin', content);
|
||||
}
|
||||
// if (this.exceptionItemTargets.length > 0) {
|
||||
// const content = this.#newExemptionItem()
|
||||
// this.exceptionItemButtonTarget.insertAdjacentHTML('beforebegin', content);
|
||||
// }
|
||||
}
|
||||
|
||||
addExemptionItem(event) {
|
||||
|
||||
Reference in New Issue
Block a user