mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Prettier: Upgrade to 2 (#30387)
* Updated package json but not updated source files * Update eslint plugin * updated files
This commit is contained in:
@@ -63,12 +63,8 @@ export class ThresholdFormCtrl {
|
||||
onThresholdTypeChange(index: number) {
|
||||
// Because of the ng-model binding, threshold's color mode is already set here
|
||||
if (this.panel.thresholds[index].colorMode === 'custom') {
|
||||
this.panel.thresholds[index].fillColor = tinycolor(config.theme.palette.blue85)
|
||||
.setAlpha(0.2)
|
||||
.toRgbString();
|
||||
this.panel.thresholds[index].lineColor = tinycolor(config.theme.palette.blue77)
|
||||
.setAlpha(0.6)
|
||||
.toRgbString();
|
||||
this.panel.thresholds[index].fillColor = tinycolor(config.theme.palette.blue85).setAlpha(0.2).toRgbString();
|
||||
this.panel.thresholds[index].lineColor = tinycolor(config.theme.palette.blue77).setAlpha(0.6).toRgbString();
|
||||
}
|
||||
this.panelCtrl.render();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user