Fix typescript compilation errors after merge
This commit is contained in:
@@ -85,7 +85,14 @@ export const routes: Routes = [
|
||||
},
|
||||
{
|
||||
path: 'compare',
|
||||
canActivate: [userGuard],
|
||||
canActivate: [
|
||||
roleGuard([
|
||||
UserRole.User,
|
||||
UserRole.Manager,
|
||||
UserRole.Admin,
|
||||
UserRole.SuperAdmin,
|
||||
]),
|
||||
],
|
||||
loadComponent: () =>
|
||||
import('./modules/compare-authors/compare-authors.component').then(
|
||||
(mod) => mod.CompareAuthorsComponent,
|
||||
|
||||
-3
@@ -224,10 +224,7 @@ export class KeywordsToPersonsResultsComponent implements OnInit {
|
||||
private loadAuthors(): void {
|
||||
const rawWeights = this.currentWeights().raw;
|
||||
const request: KeywordToAuthorRequest = {
|
||||
manualKeywords: this.state.manualKeywords(),
|
||||
extractedKeywords: this.state.extractedKeywords(),
|
||||
keywords: this.state.keywords(),
|
||||
fuzzy: this.state.fuzzySearch(),
|
||||
weights: {
|
||||
works: rawWeights['works'],
|
||||
citation: rawWeights['citations'],
|
||||
|
||||
Reference in New Issue
Block a user