|
|
@@ -2,7 +2,7 @@ import { ReviewPage, reviewOverview } from '../../core/review-page';
|
|
|
import { CommonModule } from '@angular/common';
|
|
|
import { ChangeDetectionStrategy, Component, computed, inject, NgZone, OnDestroy, OnInit, signal } from '@angular/core';
|
|
|
import { Router, RouterLink } from '@angular/router';
|
|
|
-import { AlertCircle, BarChart3, BookMarked, BookOpen, CalendarDays, Check, ChevronRight, Clock3, Eye, EyeOff, GraduationCap, Info, LucideAngularModule, RefreshCw, Search, UserRound, Zap } from 'lucide-angular';
|
|
|
+import { AlertCircle, BarChart3, BookMarked, BookOpen, CalendarDays, Check, ChevronRight, Clock3, Eye, EyeOff, GraduationCap, Info, LucideAngularModule, RefreshCw, UserRound, Zap } from 'lucide-angular';
|
|
|
import { finalize, map, Subscription } from 'rxjs';
|
|
|
import { beijingToday, TeacherTodayReviewService } from '../../core/teacher-today-review.service';
|
|
|
import { antiForgetCompleted, antiForgetDate, buildAntiForgetView, findAntiForgetList } from '../../core/anti-forget';
|
|
|
@@ -59,7 +59,7 @@ export class HomePageComponent implements OnInit, OnDestroy {
|
|
|
return stateOrder(left) === 1 ? dateDifference : -dateDifference;
|
|
|
}));
|
|
|
readonly coachReviewSummary=computed(()=>this.reviewData()?.summary||{today:0,due:0,completed:0,todayTotal:0,todayCompleted:0,todayPending:0,overduePending:0});
|
|
|
- readonly icons = { AlertCircle, BarChart3, BookMarked, BookOpen, CalendarDays, Check, ChevronRight, Clock3, Eye, EyeOff, GraduationCap, Info, RefreshCw, Search, UserRound, Zap };
|
|
|
+ readonly icons = { AlertCircle, BarChart3, BookMarked, BookOpen, CalendarDays, Check, ChevronRight, Clock3, Eye, EyeOff, GraduationCap, Info, RefreshCw, UserRound, Zap };
|
|
|
|
|
|
private readonly api = inject(ApiService);
|
|
|
private readonly router = inject(Router);
|