Dashboards: Cover the Switch variable in schema transformations - part 1. (#114293)

fix: cover the switch variable when transforming betwen v1 and v2 schemas
This commit is contained in:
Levente Balogh
2025-11-27 15:14:42 +01:00
committed by GitHub
parent 80fc87339a
commit 8e73cc2f70
4 changed files with 118 additions and 1 deletions
@@ -490,5 +490,18 @@ export const handyTestingSchema: Spec = {
allowCustomValue: true,
},
},
{
kind: 'SwitchVariable',
spec: {
name: 'switchVar',
label: 'Switch Variable',
description: 'A switch variable',
current: 'false',
enabledValue: 'true',
disabledValue: 'false',
hide: 'dontHide',
skipUrlSync: false,
},
},
],
};