AI Implementation feature(905): Challenges Page and Challenge Solve Modal 1.01 (#47)

This commit was merged in pull request #47.
This commit is contained in:
2026-07-23 01:20:00 +00:00
parent 1bd4a5a198
commit cbfa9c35ca
9 changed files with 437 additions and 115 deletions
@@ -127,6 +127,10 @@ export class ChallengesPage implements OnInit, OnDestroy {
constructor() {
this.destroyRef.onDestroy(() => this.store.stop());
const unsubscribeReload = this.eventStatus.subscribeReloadAtCountdownZero(() => {
if (typeof window !== 'undefined') window.location.reload();
});
this.destroyRef.onDestroy(() => unsubscribeReload());
}
ngOnInit(): void {
@@ -147,9 +151,6 @@ export class ChallengesPage implements OnInit, OnDestroy {
() => this.authenticatedEventSource.open('/api/v1/events'),
);
}
this.eventStatus.reloadAtCountdownZero(() => {
if (typeof window !== 'undefined') window.location.reload();
});
}
ngOnDestroy(): void {