diff --git a/interactive-mining-angular-frontend/src/app/app-routing.module.ts b/interactive-mining-angular-frontend/src/app/app-routing.module.ts index 1a67502..6eb63c8 100755 --- a/interactive-mining-angular-frontend/src/app/app-routing.module.ts +++ b/interactive-mining-angular-frontend/src/app/app-routing.module.ts @@ -2,7 +2,7 @@ import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; export const AppRoutes: Routes = [ - { path: '', redirectTo: '/mining', pathMatch: 'full' } + { path: '', redirectTo: '/mining/manage-profiles', pathMatch: 'full' } ]; @NgModule({ diff --git a/interactive-mining-angular-frontend/src/app/configuration/configuration.component.ts b/interactive-mining-angular-frontend/src/app/configuration/configuration.component.ts index 6123fd6..1c24b69 100755 --- a/interactive-mining-angular-frontend/src/app/configuration/configuration.component.ts +++ b/interactive-mining-angular-frontend/src/app/configuration/configuration.component.ts @@ -43,10 +43,15 @@ export class ConfigurationComponent implements OnInit, AfterViewInit { if (!localStorage.getItem('stopwords') || localStorage.getItem('stopwords') === 'undefined') { localStorage.setItem('stopwords', '0'); } + if (!localStorage.getItem('lowercase') || localStorage.getItem('lowercase') === 'undefined') { + localStorage.setItem('lowercase', '0'); + } + if (!localStorage.getItem('stemming') || localStorage.getItem('stemming') === 'undefined') { + localStorage.setItem('stemming', '0'); + } } promptToLeave(nextUrl: string): boolean { - console.log(nextUrl); if (nextUrl.indexOf('upload-content') >= 0 || nextUrl.indexOf('configure-profile') >= 0 || nextUrl.indexOf('save-profile') >= 0) { return true; } else { diff --git a/interactive-mining-angular-frontend/src/app/configuration/resultspreview/resultspreview.component.html b/interactive-mining-angular-frontend/src/app/configuration/resultspreview/resultspreview.component.html index 220abf9..5421922 100755 --- a/interactive-mining-angular-frontend/src/app/configuration/resultspreview/resultspreview.component.html +++ b/interactive-mining-angular-frontend/src/app/configuration/resultspreview/resultspreview.component.html @@ -1,7 +1,7 @@