Rerefactor acceleration dashboard

This commit is contained in:
Mononaut
2023-12-08 13:03:08 +00:00
parent 42f6f0c122
commit aff44d90d5
8 changed files with 158 additions and 176 deletions

View File

@@ -12,7 +12,7 @@ import { Acceleration } from '../../../interfaces/node-api.interface';
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class AccelerationStatsComponent implements OnInit {
@Input() timespan: '24h' | '1w' = '24h';
@Input() timespan: '24h' | '1w' | '1m' = '24h';
@Input() accelerations$: Observable<Acceleration[]>;
public accelerationStats$: Observable<any>;