Update js-transfers.twig

This commit is contained in:
Pinga 2024-02-23 11:47:52 +02:00
parent e0ff483481
commit 9d62b8cddb

View file

@ -41,7 +41,7 @@
// Function to create a badge with a given text and Bootstrap color class
function createBadge(text, badgeClass) {
return `<span class="badge bg-${badgeClass}-lt">${text}</span>`;
return `<span class="status status-${badgeClass}">${text}</span>`;
}
// Check if status is not null or undefined and assign colors