Reformed to use new API icon structure

This commit is contained in:
Yarne Coppens 2024-09-29 16:52:19 +02:00
parent 4a2a52376f
commit 52e53330f6

View file

@ -32,7 +32,7 @@ async function loadCash(price) {
new_column.classList.add('col') new_column.classList.add('col')
const bill_image = document.createElement('img') const bill_image = document.createElement('img')
bill_image.classList.add('cash_image') bill_image.classList.add('cash_image')
bill_image.src = api_url + '/icons/' + bill_type bill_image.src = api_url + '/icons/cash/' + bill_type
new_column.appendChild(bill_image) new_column.appendChild(bill_image)
cash_bills_row.appendChild(new_column) cash_bills_row.appendChild(new_column)