Skip to content

Conversation

@carojeandat
Copy link
Contributor

PR Summary

studyUuid: UUID | null, // ça peut pas être null ?
currentNodeUuid: UUID | null,
currentRootNetworkUuid: UUID | null,
contingencyListNames: string[] | null
Copy link
Contributor

@thangqp thangqp Feb 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
contingencyListNames: string[] | null
contingencyListIds: UUID[] | null

clean notion contingencyListNames i think it is historically.. and change type to UUID

);

const contingencyListNamesParams = getRequestParamFromList(contingencyListNames, 'contingencyListName');
const contingencyListNamesParams = getRequestParamFromList(contingencyListNames ?? [], 'contingencyListName');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const contingencyListNamesParams = getRequestParamFromList(contingencyListNames ?? [], 'contingencyListName');
const contingencyListIdsParams = getRequestParamFromList(contingencyListIds ?? [], 'contingencyListIds');

To rectify also in the backend of study-server

<SecurityAnalysisParametersInline
studyUuid={studyUuid}
parametersBackend={securityAnalysisParametersBackend}
fetchContingencyCount={(contingencyLists: string[] | null) =>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
fetchContingencyCount={(contingencyLists: string[] | null) =>
fetchContingencyCount={(contingencyListIds: UUID[] | null) =>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants