Skip to content

Commit

Permalink
fix: gambiarra para rodar
Browse files Browse the repository at this point in the history
  • Loading branch information
Joabesv committed Sep 20, 2024
1 parent f170376 commit 27a0fbc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/views/Matricula.vue
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,12 @@ async function changeTeachers() {
if (component.subject) {
subjectEl.setAttribute('subjectId', component.subjectId);
}
const data = { disciplina: component }
const rendered = Mustache.render(htmlPop.data, data)
el.insertAdjacentHTML(
'beforeend',
Mustache.render(htmlPop.data, component),
rendered,
);
corteEl.insertAdjacentHTML('beforeend', corteHtml.data);
}
Expand Down

0 comments on commit 27a0fbc

Please sign in to comment.