revert accidental search&replace fail

This commit is contained in:
simon987
2019-02-16 09:56:44 -05:00
parent 6ca92bc0a7
commit 03153c4d39
20 changed files with 108 additions and 96 deletions

View File

@@ -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() {