This commit is contained in:
counterweight 2025-03-04 15:24:36 +01:00
parent 8f762404cf
commit a3f166089a
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C

View file

@ -563,12 +563,11 @@ class MyOffers {
}
async render() {
if (!this.offers) {
if (this.offers.length === 0) {
this.ownOffersContainerElement.innerHTML =
'<p class="shadowed-round-area">Vaya, no hay nada por aquí...</p>';
return;
}
this.ownOffersContainerElement.innerHTML = '';
for (const someOffer of this.offers) {