Skip to content

Commit

Permalink
Table row label fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasmadei committed Mar 28, 2024
1 parent 99f0af5 commit a16cdd5
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ interface FaultEventScenariosTableProps {
scenarios: FaultEventScenario[];
onScenarioSelect: (scenario: FaultEventScenario) => void;
}

interface TableRow {
cutsets: string[];
probability: number;
Expand All @@ -21,9 +20,7 @@ const getScenarioTableRow = (item: FaultEventScenario) => {
const cutsetsStrings = [];

for (const scenarioPart of asArray(item.scenarioParts)) {
const parts = scenarioPart.iri.split("/");
const lastPart = parts[parts.length - 1];
cutsetsStrings.push(lastPart);
cutsetsStrings.push(scenarioPart.name);
}

const row: TableRow = {
Expand Down

0 comments on commit a16cdd5

Please sign in to comment.