-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: QBD direct bug fixes #1101
Changes from 1 commit
b8a9c0f
1da613e
0bfe78e
522be3f
287b3a3
c25229f
fed0d68
1762b05
3b7e2b5
4acb11a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -182,6 +182,8 @@ | |
this.errorArticle = accountingError.article_link; | ||
// @ts-ignore | ||
this.errorExpenses = accountingError[this.exportKey]?.expenses; | ||
console.log(this.errorExpenses) | ||
Check failure on line 185 in src/app/shared/components/dashboard/dashboard-error-section/dashboard-error-section.component.ts GitHub Actions / lint
|
||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove debugging console.log statement Production code should not contain console.log statements. If error tracking is needed, consider using a proper logging service or Angular's error handling mechanisms. - console.log(this.errorExpenses)
- 🧰 Tools🪛 GitHub Check: lint[failure] 185-185: [failure] 185-185: 🪛 eslint[error] 185-185: Unexpected console statement. (no-console) [error] 185-186: Missing semicolon. (semi) |
||
} | ||
|
||
private formatErrors(errors: Error[]): AccountingGroupedErrors { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove debugging console.log statement
Production code should not contain console.log statements. If debugging is needed, consider using proper logging services or Angular's built-in logging mechanisms.
- console.log(this.errors)
🧰 Tools
🪛 GitHub Check: lint
[failure] 143-143:
Unexpected console statement
[failure] 143-143:
Missing semicolon
🪛 eslint
[error] 143-143: Unexpected console statement.
(no-console)
[error] 143-144: Missing semicolon.
(semi)