From 39b2d9dbfe044228520c00b85d46a67b3d989a37 Mon Sep 17 00:00:00 2001 From: kostis30fyllou Date: Fri, 16 Apr 2021 17:23:06 +0300 Subject: [PATCH] Fix some typos --- .../settings/settings.component.html | 2 +- .../stepsnvabar/stepsnvabar.component.html | 34 +++++++++---------- .../app/stepsnvabar/stepsnvabar.component.ts | 14 ++++---- 3 files changed, 25 insertions(+), 25 deletions(-) diff --git a/interactive-mining-angular-frontend/src/app/configuration/settings/settings.component.html b/interactive-mining-angular-frontend/src/app/configuration/settings/settings.component.html index 95a92c6..cc660e1 100755 --- a/interactive-mining-angular-frontend/src/app/configuration/settings/settings.component.html +++ b/interactive-mining-angular-frontend/src/app/configuration/settings/settings.component.html @@ -71,7 +71,7 @@ {{negativePhrasesArray.length}} phrase{{negativePhrasesArray.length===1?'':'s'}}
-

Add negative phrases. If these phrases are found around the match, this is possibly a false possitive. You can use different weights to assign importance. Phrase can be a valid Regular expression

+

Add negative phrases. If these phrases are found around the match, this is possibly a false positive. You can use different weights to assign importance. Phrase can be a valid Regular expression

diff --git a/interactive-mining-angular-frontend/src/app/stepsnvabar/stepsnvabar.component.html b/interactive-mining-angular-frontend/src/app/stepsnvabar/stepsnvabar.component.html index ceb9b38..50bac95 100755 --- a/interactive-mining-angular-frontend/src/app/stepsnvabar/stepsnvabar.component.html +++ b/interactive-mining-angular-frontend/src/app/stepsnvabar/stepsnvabar.component.html @@ -1,21 +1,21 @@ - + - - + + - - + + - + - - + + @@ -35,21 +35,21 @@ of links to appear in your dashboard on the next run.
-
+
- + Add concepts + [ngClass]="{'cm-nav2-step-active':processStep===1, 'cm-nav2-step-disabled':processStep<1}" + [routerLink]="processStep>1 ? ['../upload-content'] : []" queryParamsHandling="preserve">Add concepts Configure - matching proccess + [ngClass]="{'cm-nav2-step-active':processStep===2, 'cm-nav2-step-disabled':processStep<2}" + [routerLink]="processStep>2 ? ['../configure-profile'] : []" queryParamsHandling="preserve">Configure + matching process Save matching + [ngClass]="{'cm-nav2-step-active':processStep===3, 'cm-nav2-step-disabled':processStep<3}" + [routerLink]="processStep>3 ? ['../save-profile'] : []" queryParamsHandling="preserve">Save matching profile
diff --git a/interactive-mining-angular-frontend/src/app/stepsnvabar/stepsnvabar.component.ts b/interactive-mining-angular-frontend/src/app/stepsnvabar/stepsnvabar.component.ts index 453e72a..e83ea3d 100755 --- a/interactive-mining-angular-frontend/src/app/stepsnvabar/stepsnvabar.component.ts +++ b/interactive-mining-angular-frontend/src/app/stepsnvabar/stepsnvabar.component.ts @@ -9,7 +9,7 @@ import UIkit from 'uikit'; }) export class StepsnvabarComponent implements OnInit { - public proccessStep = 0; + public processStep = 0; constructor(private route: ActivatedRoute, private router: Router) { router.events.subscribe((val) => { @@ -23,18 +23,18 @@ export class StepsnvabarComponent implements OnInit { changeStep(url: string): void { if (url.indexOf('mining/upload-content') >= 0) { - this.proccessStep = 1; + this.processStep = 1; } else if (url.indexOf('mining/configure-profile') >= 0) { - this.proccessStep = 2; + this.processStep = 2; } else if (url.indexOf('mining/save-profile') >= 0) { - this.proccessStep = 3; + this.processStep = 3; } else { - this.proccessStep = 0; + this.processStep = 0; } } - cancelHandle(proccessStep: number): void { - if (proccessStep === 3) { + cancelHandle(processStep: number): void { + if (processStep === 3) { UIkit.modal.confirm('' + 'Your changes have not been saved to your Profile!
Are you sure you want to leave?
', {escClose: true}).then(() => { this.router.navigate(['../manage-profiles'], {relativeTo: this.route, queryParamsHandling: 'preserve'});