fix: op gets params from preset context

This commit is contained in:
Carlos Valente
2025-10-10 06:42:42 +02:00
committed by Carlos Valente
parent 3662cd58f5
commit bdeb087e28
2 changed files with 30 additions and 10 deletions
+2
View File
@@ -207,6 +207,8 @@ function PresetView() {
/**
* Locked presets do not allow configuration changes
* Whether the user can navigate is determined by the locked param
*
* We inject the preset to the context value for the view to consume
*/
const Component = PresetViewMap[preset.target as OntimeViewPresettable];
return (