Skip to content

Commit 246b79a

Browse files
committed
fix: log delete
1 parent a1f0969 commit 246b79a

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

scripts/api/provider.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ export default class Provider {
4949

5050
async _getAccountByCardNumber(accountCardNumber) {
5151
const accountsEntries = await this.getEntriesAccount();
52-
console.log(accountsEntries)
5352

5453
return accountsEntries?.find(
5554
([_, { cardNumber }]) => cardNumber === accountCardNumber.toUpperCase()
@@ -102,13 +101,11 @@ export default class Provider {
102101

103102
async searchAccount(submitData) {
104103
if (this._getIsItemPersisted({ key: "accounts" })) {
105-
console.log(submitData);
106104
const { firstName, secondName, cardNumber } = submitData;
107105

108106
const [_, accountByCardNumber] =
109107
(await this._getAccountByCardNumber(cardNumber)) || [];
110108

111-
console.log(accountByCardNumber)
112109
if (
113110
accountByCardNumber?.firstName === firstName &&
114111
accountByCardNumber?.secondName === secondName

scripts/models/accounts-model.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ export class AccountsModel extends Observer {
8181
}
8282

8383
resetCurrentSearchAccountWithDelay = (updateType, timeDelay) => {
84-
console.log("reset");
8584
setTimeout(() => {
8685
this._currentSearchAccount = null;
8786

scripts/views/components/digital-library/digital-library.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ const createReaderNameTemplate = (firstName, lastName) => {
4949
};
5050

5151
const createFormTemplate = (currentAccount, currentSearchAccount) => {
52-
console.log(currentAccount);
53-
5452
const { firstName, lastName, cardNumber } = (currentSearchAccount || currentAccount) ?? {};
5553

5654
return `

0 commit comments

Comments
 (0)