fix
This commit is contained in:
parent
8f762404cf
commit
a3f166089a
1 changed files with 1 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue