Skip to content

Commit

Permalink
feat: add data parameter to concatMap operator and called update se…
Browse files Browse the repository at this point in the history
…lector states with it
  • Loading branch information
adkif committed Sep 28, 2024
1 parent 6c181d4 commit a088365
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -681,8 +681,9 @@ export class TimeTrackerComponent implements OnInit, AfterViewInit {
this.timeTrackerQuery.ignition$
.pipe(
filter(({ state }) => state === IgnitionState.RESTARTING),
concatMap(async () => {
concatMap(async ({ data }) => {
this.isProcessingEnabled = true;
this.timeTrackerFormService.setState(data);
const session: moment.Moment = this._session?.clone();
const sessionLog = await this.silentRestart();
return { sessionLog, session };
Expand Down

0 comments on commit a088365

Please sign in to comment.