Fix typescript compilation errors after merge

This commit is contained in:
Steven Tischer
2026-07-16 20:53:09 +02:00
parent 032e0a1a06
commit afd45a98bd
2 changed files with 8 additions and 4 deletions
+8 -1
View File
@@ -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,
@@ -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'],