fix(spreadsheet): enable multiple optional loading parameters#3835
fix(spreadsheet): enable multiple optional loading parameters#3835TheMaskedTurtle wants to merge 4 commits intomainfrom
Conversation
Signed-off-by: Joris Mancini <joris.mancini_externe@rte-france.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughA conditional chain in a useEffect hook is refactored from mutually exclusive Changes
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|



PR Summary
If we modify several loading options at the same time only one is taken into account for reloading related spreadsheet which is not the expected behavior.
For example, if you load lines and generators spreadsheets, if then we toggle on "inactive limit sets" on lines and "regulated terminals" on generators, we expect both types to be completely reloaded to add these data. But for now, if you do that, only the lines will be reloaded. So, this fix enables to reload both lines and generators in this situation.