Skip to content

Commit

Permalink
feat: Widget Sirius par CFD (#21)
Browse files Browse the repository at this point in the history
feat: utilise le cfd pour le widget sirius
  • Loading branch information
K4ST0R authored Dec 11, 2024
1 parent 7dd115d commit 7354239
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion server/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ cli
"Geometry key path (lodash path format). \n Exemple pour Graphhopper : polygons[0].geometry"
)
.requiredOption(
"-b, --buckets",
"-b, --buckets <buckets>",
"Liste des durées des différents buckets en ordre décroissant (séparés par des virgules)",
"5400,3600,2700,1800,900"
)
Expand Down
4 changes: 1 addition & 3 deletions ui/app/(accompagnateur)/components/WidgetSiriusFormation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,5 @@ export default function WidgetSiriusFormation({
return fallbackComponent;
}

return (
<WidgetSirius params={`formation?intitule=${encodeURI(formation.libelle)}`} fallbackComponent={fallbackComponent} />
);
return <WidgetSirius params={`formation?cfd=${encodeURI(formation.cfd)}`} fallbackComponent={fallbackComponent} />;
}

0 comments on commit 7354239

Please sign in to comment.