Skip to content

Commit

Permalink
Last fixes before release
Browse files Browse the repository at this point in the history
  • Loading branch information
UnchartedBull committed Feb 20, 2020
1 parent 54f5a7a commit c4b2272
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/app/control/control.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export class ControlComponent {
}

public doAction(command: string, exit: boolean, confirm: boolean): void {
console.log(command, exit, confirm);
if (confirm) {
this.actionToConfirm = {
command,
Expand All @@ -57,6 +56,8 @@ export class ControlComponent {
this.executeGCode(this.actionToConfirm.command);
if (this.actionToConfirm.exit) {
this.router.navigate(['/main-screen']);
} else {
this.actionToConfirm = null;
}
}

Expand Down
3 changes: 1 addition & 2 deletions src/app/files/files.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ export class FilesComponent {
this.sortFolder(this.sortingAttribute, this.sortingOrder);
this.spinner.hide();
})
.catch((err): void => {
console.error(err);
.catch((): void => {
this.folderContent = null;
this.currentFolder = folderPath;
this.spinner.hide();
Expand Down
4 changes: 2 additions & 2 deletions src/app/notification/notification.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ export class NotificationService {
}

public enableNotifications(): void {
// console.clear();
console.clear();
this.hideNotifications = false;
}

public disableNotifications(): void {
// console.clear();
console.clear();
this.hideNotifications = true;
}

Expand Down

0 comments on commit c4b2272

Please sign in to comment.