-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added info to Diff about only one dive
- Loading branch information
Showing
2 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,20 @@ | ||
import { Component } from '@angular/core'; | ||
import { Location } from '@angular/common'; | ||
import { ProfileComparatorService } from '../shared/diff/profileComparatorService'; | ||
import { faExclamationCircle } from '@fortawesome/free-solid-svg-icons'; | ||
|
||
@Component({ | ||
selector: 'app-diff', | ||
templateUrl: './diff.component.html', | ||
styleUrls: ['./diff.component.scss'] | ||
}) | ||
export class DiffComponent { | ||
constructor(public profileComparatorService: ProfileComparatorService) { | ||
public readonly exclamation = faExclamationCircle; | ||
|
||
constructor(public diff: ProfileComparatorService, private location: Location) { | ||
} | ||
|
||
public goToDashboard(): void { | ||
this.location.go('/'); | ||
} | ||
} |