Skip to content

Commit

Permalink
added substandard
Browse files Browse the repository at this point in the history
  • Loading branch information
SFJohnson24 committed Dec 4, 2024
1 parent 9c86d86 commit b1ed423
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/ExcelDataset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export interface IDataset {
export interface IStandard {
product: string;
version: string;
substandard?: string;
}

export interface IVariable {
Expand Down Expand Up @@ -181,6 +182,7 @@ const getLibrary = (workbook: WorkBook): IStandard[] => {
return libraryRows.map<IStandard>((row: {}) => ({
...(row["Product"] && { product: row["Product"] }),
...(row["Version"] && { version: row["Version"] }),
...(row["Substandard"] && { substandard: row["Substandard"] }),
}));
};

Expand Down

0 comments on commit b1ed423

Please sign in to comment.