RED-6313, remove active comparison as it's redundant.
This commit is contained in:
parent
45b4a97f21
commit
03e3245f07
@ -51,7 +51,7 @@ export class PageIndicatorComponent extends ContextComponent<PageIndicatorContex
|
||||
);
|
||||
const assigneeChanged$ = this._state.file$.pipe(
|
||||
pairwise(),
|
||||
map(([prevFile, currFile]) => this.active && prevFile.assignee !== currFile.assignee),
|
||||
map(([prevFile, currFile]) => prevFile.assignee !== currFile.assignee),
|
||||
tap(assigneeChanged => assigneeChanged && this.handlePageRead()),
|
||||
);
|
||||
super._initContext({ isRotated: isRotated$, assigneeChanged: assigneeChanged$ });
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user