feat: Challenges Page and Challenge Solve Modal 1.01

This commit is contained in:
OpenVelo Agent
2026-07-23 01:19:58 +00:00
parent ad4bda2ef9
commit 6309408f21
6 changed files with 408 additions and 109 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 {