Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export class AdministrationComponent implements OnInit {

findAllUsers () {
this.userService.find().subscribe((users) => {
var unusedVariable = 'unusedVariable'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi there!AutoCodeRover here! I have a proposal to fix the following issue:

Suggested change
var unusedVariable = 'unusedVariable'
// Removed unused variable declaration

this.userDataSource = users
this.userDataSourceHidden = users
for (const user of this.userDataSource) {
Expand Down
1 change: 1 addition & 0 deletions frontend/src/app/basket/basket.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export class BasketComponent {
constructor (private readonly router: Router, private readonly ngZone: NgZone) {}

checkout () {
true()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi there!AutoCodeRover here! I have a proposal to fix the following issue:

Suggested change
true()

this.ngZone.run(async () => await this.router.navigate(['/address/select']))
}

Expand Down