Skip to content

Commit

Permalink
fix(dispatch,platform): added modeling methods to metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrkarr committed Jan 4, 2022
1 parent eeee53a commit 6da720e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libs/simulation-runs/service/src/lib/view/view.service.ts
Expand Up @@ -379,9 +379,7 @@ export class ViewService {
},
);

const methods: ListItem[] = [];

Array.from(simulationTypes)
const simulationTypeItems = Array.from(simulationTypes)
.map((simulationType: string): ListItem => {
return {
title: 'Simulation',
Expand All @@ -407,7 +405,7 @@ export class ViewService {
task.simulation.algorithm;
});

Object.values(kisaoIdSimulationAlgorithmMap)
const algorithmItems = Object.values(kisaoIdSimulationAlgorithmMap)
.map((algorithm): ListItem => {
return {
title: 'Algorithm',
Expand All @@ -424,6 +422,8 @@ export class ViewService {
});
});

const methods: ListItem[] = simulationTypeItems.concat(algorithmItems);

const formats: ListItem[] = [];
formats.push({
title: 'Project',
Expand Down

0 comments on commit 6da720e

Please sign in to comment.