Skip to content

Commit e7f52b7

Browse files
fix(request-a-correction): the observable was not initialized properly.
ref: DSC-2525
1 parent d72924f commit e7f52b7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/app/shared/context-menu/request-correction/request-correction-menu.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import {
2525
} from 'rxjs';
2626
import {
2727
catchError,
28-
shareReplay,
28+
share,
2929
switchMap,
3030
take,
3131
} from 'rxjs/operators';
@@ -107,7 +107,7 @@ export class RequestCorrectionMenuComponent extends ContextMenuEntryComponent im
107107
ngOnInit(): void {
108108
this.canCreateCorrection$ = this.notificationService.claimedProfile.pipe(
109109
switchMap(() => this.canCreateCorrection(false)),
110-
shareReplay(1),
110+
share(),
111111
);
112112
}
113113

0 commit comments

Comments
 (0)