fix: restore missing closing brace in updateEditHotBoxRecommendation
This commit is contained in:
parent
3bec7cfd7c
commit
e1cf8d5565
1 changed files with 2 additions and 0 deletions
|
|
@ -885,6 +885,8 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||||
badgeText = '{% translate "Suggéré : Non conforme" %}';
|
badgeText = '{% translate "Suggéré : Non conforme" %}';
|
||||||
badgeClass = 'bg-warning-subtle text-warning-emphasis border border-warning-subtle';
|
badgeClass = 'bg-warning-subtle text-warning-emphasis border border-warning-subtle';
|
||||||
icon = 'bi-exclamation-circle-fill';
|
icon = 'bi-exclamation-circle-fill';
|
||||||
|
}
|
||||||
|
|
||||||
if (badge) {
|
if (badge) {
|
||||||
badge.className = `badge ${badgeClass} px-2.5 py-1 rounded-pill small`;
|
badge.className = `badge ${badgeClass} px-2.5 py-1 rounded-pill small`;
|
||||||
badge.innerHTML = `<i class="bi ${icon} me-1"></i>${badgeText}`;
|
badge.innerHTML = `<i class="bi ${icon} me-1"></i>${badgeText}`;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue