Skip to content

Commit

Permalink
수정: 판매기록에서 번호 출력 안 하도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
eve712 committed Dec 16, 2020
1 parent c0a64d2 commit c0129fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mini Project/vending_machine_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ class ViewOfSelectBtn {
const soldItems = this.walletData.soldItems;
this.soldItemsEl.innerHTML = '';
soldItems.forEach(el => {
const text = `${el.number}번 ${el.name}: ${el.times}개`;
const text = ` ${el.name}: ${el.times}개`;
this.soldItemsEl.innerHTML += `<span>${text}</span> <br>`;
});
}
Expand Down

0 comments on commit c0129fd

Please sign in to comment.