mirror of
https://github.com/simon987/task_tracker.git
synced 2025-12-14 07:19:02 +00:00
revert accidental search&replace fail
This commit is contained in:
@@ -44,13 +44,17 @@ export class ProjectDashboardComponent implements OnInit {
|
||||
constructor(private apiService: ApiService, private route: ActivatedRoute) {
|
||||
}
|
||||
|
||||
|
||||
ngOnInit(): void {
|
||||
this.route.params.subscribe(params => {
|
||||
this.projectId = params["id"];
|
||||
this.getProject();
|
||||
});
|
||||
}
|
||||
|
||||
public isSafeUrl(url: string) {
|
||||
if (url.substr(0, "http".length) == "http") {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
public refresh() {
|
||||
|
||||
Reference in New Issue
Block a user