-
Notifications
You must be signed in to change notification settings - Fork 4
module ENR part 2, add powerElectronicsClusters parameters management
#999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…management Signed-off-by: sBouzols <sylvain.bouzols@gmail.com>
…_params_part2 Signed-off-by: sBouzols <sylvain.bouzols@gmail.com>
Signed-off-by: sBouzols <sylvain.bouzols@gmail.com>
Signed-off-by: sBouzols <sylvain.bouzols@gmail.com>
Signed-off-by: sBouzols <sylvain.bouzols@gmail.com>
Signed-off-by: sBouzols <sylvain.bouzols@gmail.com>
|
Signed-off-by: sBouzols <sylvain.bouzols@gmail.com>
| isIccMinFeaturesDefaultConfiguration, | ||
| ]); | ||
|
|
||
| const createRows = useCallback(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this useCallback needed ? there is no dependencies
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Signed-off-by: sBouzols <sylvain.bouzols@gmail.com>
| } | ||
| }; | ||
|
|
||
| const parsepowerElectronicsClustersParamString = ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| const parsepowerElectronicsClustersParamString = ( | |
| const parsePowerElectronicsClustersParamString = ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
| try { | ||
| return JSON.parse(paramString); | ||
| } catch (error) { | ||
| console.error('Error parsing power electronics materials parameter string:', error); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should the error be managed with snackWithFallback ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK but it needs to pass the snackError into the utils functions
Signed-off-by: sBouzols <sylvain.bouzols@gmail.com>
…om/gridsuite/commons-ui into feat_shortcircuit_ENR_params_part2
Signed-off-by: sBouzols <sylvain.bouzols@gmail.com>
…ackbar Signed-off-by: sBouzols <sylvain.bouzols@gmail.com>


PR Summary