Skip to content

Commit 6d7fd23

Browse files
Update statchart/schemas/migrate/migrate.cue
Co-authored-by: Antoine THEBAUD <[email protected]> Signed-off-by: Alexander Belyakin <[email protected]>
1 parent 64f469a commit 6d7fd23

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

statchart/schemas/migrate/migrate.cue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,7 @@ spec: {
3737
calculation: *commonMigrate.#mapping.calc[#panel.options.reduceOptions.calcs[0]] | commonMigrate.#defaultCalc // only consider [0] here as Perses's GaugeChart doesn't support individual calcs
3838

3939
// textMode - map directly from Grafana's BigValueTextMode enum
40-
#grafanaTextMode: *#panel.options.textMode | "auto"
41-
if #grafanaTextMode != null {
42-
textMode: #grafanaTextMode
43-
}
40+
textMode: *#panel.options.textMode | "auto"
4441

4542
// metricLabel - map from reduceOptions.fields for field selection
4643
#fields: *#panel.options.reduceOptions.fields | null

0 commit comments

Comments
 (0)