Skip to content

Commit

Permalink
improve backlink handling for web components
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramon Spahr committed May 25, 2021
1 parent 86afab4 commit 7414391
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/app/presence-control/presence-control.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ import { PresenceControlIncidentComponent } from './components/presence-control-
PresenceControlDialogComponent,
PresenceControlIncidentComponent,
],
providers: [
{ provide: STUDENT_PROFILE_BACKLINK, useValue: '/presence-control' },
],
imports: [SharedModule, PresenceControlRoutingModule],
entryComponents: [PresenceControlDialogComponent],
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ import { ConfirmAbsencesSelectionService } from '../../services/confirm-absences
selector: 'erz-student-profile',
templateUrl: './student-profile.component.html',
styleUrls: ['./student-profile.component.scss'],
providers: [StudentProfileAbsencesService],
providers: [
StudentProfileAbsencesService,
{ provide: STUDENT_PROFILE_BACKLINK, useValue: '/presence-control' },
],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class StudentProfileComponent implements OnInit, OnDestroy {
Expand Down

0 comments on commit 7414391

Please sign in to comment.