fix!: removed institution overview

This commit is contained in:
Mats Paul Tončik
2026-08-04 10:34:28 +02:00
parent 06f34bec45
commit 053af573fc
7 changed files with 1 additions and 53 deletions
+1 -8
View File
@@ -664,14 +664,7 @@ export const routes: Routes = [
canFetchGdprRelevantData: canFetchGdprRelevantDataResolver,
},
children: [
{ path: '', pathMatch: 'full', redirectTo: 'overview' },
{
path: 'overview',
loadComponent: () =>
import('./modules/institution-overview/institution-overview.component').then(
(mod) => mod.InstitutionOverviewComponent,
),
},
{ path: '', pathMatch: 'full', redirectTo: 'publications' },
{
path: 'publications',
loadComponent: () =>
@@ -1 +0,0 @@
<p>institution-overview works!</p>
@@ -1,22 +0,0 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { InstitutionOverviewComponent } from './institution-overview.component';
describe('InstitutionOverviewComponent', () => {
let component: InstitutionOverviewComponent;
let fixture: ComponentFixture<InstitutionOverviewComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [InstitutionOverviewComponent],
}).compileComponents();
fixture = TestBed.createComponent(InstitutionOverviewComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -1,9 +0,0 @@
import { Component } from '@angular/core';
@Component({
selector: 'app-institution-overview',
imports: [],
templateUrl: './institution-overview.component.html',
styleUrl: './institution-overview.component.scss',
})
export class InstitutionOverviewComponent {}
@@ -29,7 +29,6 @@ export class InstitutionComponent {
_links = computed<TabLink[]>(() => {
const links: TabLink[] = [
{ label: 'Übersicht', path: 'overview', disabled: false },
{ label: 'Publikationen', path: 'publications', disabled: false },
];
if (this.canFetchGdprRelevantData()) {
@@ -41,18 +41,6 @@
<mat-card-footer>
<mat-card-actions class="card-actions">
<a
class="card-action"
[routerLink]="[
'/institution',
stripOpenAlexId(institution().id),
'overview',
]"
matButton="outlined"
(click)="$event.stopPropagation()">
<mat-icon>info</mat-icon>
Übersicht
</a>
<a
class="card-action"
[routerLink]="[