diff options
author | Sonja Galovic <galovicsonja@gmail.com> | 2022-04-19 21:56:04 +0200 |
---|---|---|
committer | Sonja Galovic <galovicsonja@gmail.com> | 2022-04-19 21:56:04 +0200 |
commit | 923188daa0c90a07c57ecdc6957fcb569b5aa73a (patch) | |
tree | 9b95b2b584ecfd000e9aa0af59d3b2fe86a9a63f /frontend/src/app/experiment | |
parent | 3ee39c4a5c0dfccc4fcb429762e5a7cc026da4a0 (diff) |
Dodavanje novog dataseta: dataset selektovan cim se doda, delimiter input promenjen. Yes/no dijalog kad se eskperiment doda za odlazak na treniranje. Resen error kod selektovanja tipa problema.
Diffstat (limited to 'frontend/src/app/experiment')
-rw-r--r-- | frontend/src/app/experiment/experiment.component.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/src/app/experiment/experiment.component.ts b/frontend/src/app/experiment/experiment.component.ts index 84fdbf0f..75c8e0d8 100644 --- a/frontend/src/app/experiment/experiment.component.ts +++ b/frontend/src/app/experiment/experiment.component.ts @@ -199,9 +199,9 @@ export class ExperimentComponent implements OnInit { this.experimentsService.addExperiment(this.experiment).subscribe((response) => { this.experiment = response; - Shared.openDialog("Obaveštenje", "Eksperiment je uspešno kreiran."); - - this.router.navigate(['/training', this.experiment._id]); + Shared.openYesNoDialog("Obaveštenje", "Eksperiment je uspešno kreiran. Da li želite da pređete na treniranje modela?", () => { + this.router.navigate(['/training', this.experiment._id]); + }); }, (error) => { if (error.error == "Experiment with this name exists") { Shared.openDialog("Greška", "Eksperiment sa unetim nazivom već postoji u Vašoj kolekciji. Unesite neki drugi naziv."); |