Chore: Updated python dependencies
Chore: Updated angular to v19 Chore: Refactored ops with docker and ansible
This commit is contained in:
@ -6,8 +6,7 @@ import { ToCsvType } from './to-csv-type';
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class ToCsvService {
|
||||
// eslint-disable-next-line class-methods-use-this
|
||||
toCsv(headers: { [display: string]: string }, data: unknown[]): string {
|
||||
toCsv(headers: Record<string, string>, data: unknown[]): string {
|
||||
const header = Object.keys(headers);
|
||||
const replacer = (key: string, value: string | number | null) => (value === null ? '' : value);
|
||||
const csv = data.map((row) =>
|
||||
|
||||
Reference in New Issue
Block a user