aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_pages/browse-predictors/browse-predictors.component.ts
diff options
context:
space:
mode:
authorDanijel Anđelković <adanijel99@gmail.com>2022-04-23 01:28:46 +0200
committerDanijel Anđelković <adanijel99@gmail.com>2022-04-23 01:28:46 +0200
commit1177f4b29b616a59af39f4aef11b116f9660357d (patch)
tree36aaa26c5b78a2a5de9d86c6cde299b25f348091 /frontend/src/app/_pages/browse-predictors/browse-predictors.component.ts
parentc8165d451b295ec610702b36fc05b8cc6047497b (diff)
Reorganizovao stranice i komponente.
Diffstat (limited to 'frontend/src/app/_pages/browse-predictors/browse-predictors.component.ts')
-rw-r--r--frontend/src/app/_pages/browse-predictors/browse-predictors.component.ts26
1 files changed, 0 insertions, 26 deletions
diff --git a/frontend/src/app/_pages/browse-predictors/browse-predictors.component.ts b/frontend/src/app/_pages/browse-predictors/browse-predictors.component.ts
deleted file mode 100644
index 891b3cab..00000000
--- a/frontend/src/app/_pages/browse-predictors/browse-predictors.component.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-import { Component, OnInit } from '@angular/core';
-import { PredictorsService } from 'src/app/_services/predictors.service';
-import Predictor from 'src/app/_data/Predictor';
-import {Router} from '@angular/router'
-@Component({
- selector: 'app-browse-predictors',
- templateUrl: './browse-predictors.component.html',
- styleUrls: ['./browse-predictors.component.css']
-})
-export class BrowsePredictorsComponent implements OnInit {
-
- publicPredictors? :Predictor[];
- term: string="";
- constructor(private predictors: PredictorsService,private router:Router) {
- this.predictors.getPublicPredictors().subscribe((predictors) => {
- this.publicPredictors = predictors;
- });
- }
-
- ngOnInit(): void {
- }
- openPredictor(id:string):void{
- this.router.navigate(['predict/'+id]);
- };
-
-}