Closed alex-Arc closed 10 months ago
Have you tried using a strict regex?
what do you think about this? https://github.com/cpvalente/ontime/pull/665/commits/a1ebc77ecf6ebdccadecd3b41e461f955d06d18a
Left a comment. Thank you so much!
is this something we should fix in v2 as well or are there maybe no collisions there?
Hey @alex-Arc. The operator view is the only place I know that could have a similar issue. If the operator view has this bug we should fix in v2, otherwise I am unaware of any issues that need resolving in v2
when checking for the default value we are using
includes
witch means that something liketitle
andsubtitle
will both be evaluated true@asharonbaltazar do you have an idea on how to fix this? Would it break thing to just use a
==
This is needed for the new Lower Thirds #665
https://github.com/cpvalente/ontime/blob/40bede200cf7011ea3c5d0fb053e76377c276722/apps/client/src/common/components/view-params-editor/ViewParamsEditor.tsx#L30