optimising and making it better
This commit is contained in:
@@ -21,7 +21,7 @@ export class ItemsCarouselComponent implements OnInit {
|
||||
loading = signal(true);
|
||||
isnovo = environment.theme === 'novo';
|
||||
|
||||
responsiveOptions: any[] | undefined;
|
||||
responsiveOptions: { breakpoint: string; numVisible: number; numScroll: number }[] | undefined;
|
||||
|
||||
constructor(
|
||||
private apiService: ApiService,
|
||||
@@ -68,7 +68,7 @@ export class ItemsCarouselComponent implements OnInit {
|
||||
];
|
||||
}
|
||||
|
||||
getSeverity(remainings: string) {
|
||||
getSeverity(remainings: string): 'success' | 'info' | 'warn' | 'danger' | 'secondary' | 'contrast' {
|
||||
switch (remainings) {
|
||||
case 'high':
|
||||
return 'success';
|
||||
|
||||
Reference in New Issue
Block a user