Interval variable: Fix $__auto value behavior (#100479)
This commit is contained in:
1 parent
9282e4cad4
commit
24f9126cdf
1 file changed
+1
-1
@@ -263,7 +263,7 @@ export function getCurrentValueForOldIntervalModel(variable: IntervalVariableMod
|
||||
const selectedInterval = Array.isArray(variable.current.value) ? variable.current.value[0] : variable.current.value;
|
||||
|
||||
// If the interval is the old auto format, return the new auto interval from scenes.
|
||||
if (selectedInterval.startsWith('$__auto_interval_')) {
|
||||
if (selectedInterval.startsWith('$__auto_interval_') || selectedInterval === '$__auto') {
|
||||
return '$__auto';
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user