Browse Source

Merge branch 'rc'

pull/14125/head
Igor Kulikov 1 year ago
parent
commit
86436b174e
  1. 5
      pom.xml
  2. 2
      ui-ngx/src/app/modules/home/components/widget/config/basic/chart/doughnut-basic-config.component.ts
  3. 2
      ui-ngx/src/app/modules/home/components/widget/lib/settings/chart/doughnut-widget-settings.component.ts

5
pom.xml

@ -1929,9 +1929,6 @@
<name>Typesafe Repository</name> <name>Typesafe Repository</name>
<url>https://repo.typesafe.com/typesafe/releases/</url> <url>https://repo.typesafe.com/typesafe/releases/</url>
</repository> </repository>
<repository>
<id>sonatype</id>
<url>https://oss.sonatype.org/content/groups/public</url>
</repository>
</repositories> </repositories>
</project> </project>

2
ui-ngx/src/app/modules/home/components/widget/config/basic/chart/doughnut-basic-config.component.ts

@ -86,9 +86,11 @@ export class DoughnutBasicConfigComponent extends LatestChartBasicConfigComponen
if (totalEnabled) { if (totalEnabled) {
latestChartWidgetConfigForm.get('totalValueFont').enable(); latestChartWidgetConfigForm.get('totalValueFont').enable();
latestChartWidgetConfigForm.get('totalValueColor').enable(); latestChartWidgetConfigForm.get('totalValueColor').enable();
latestChartWidgetConfigForm.get('legendShowTotal').disable();
} else { } else {
latestChartWidgetConfigForm.get('totalValueFont').disable(); latestChartWidgetConfigForm.get('totalValueFont').disable();
latestChartWidgetConfigForm.get('totalValueColor').disable(); latestChartWidgetConfigForm.get('totalValueColor').disable();
latestChartWidgetConfigForm.get('legendShowTotal').enable();
} }
} }
} }

2
ui-ngx/src/app/modules/home/components/widget/lib/settings/chart/doughnut-widget-settings.component.ts

@ -69,9 +69,11 @@ export class DoughnutWidgetSettingsComponent extends LatestChartWidgetSettingsCo
if (totalEnabled) { if (totalEnabled) {
latestChartWidgetSettingsForm.get('totalValueFont').enable(); latestChartWidgetSettingsForm.get('totalValueFont').enable();
latestChartWidgetSettingsForm.get('totalValueColor').enable(); latestChartWidgetSettingsForm.get('totalValueColor').enable();
latestChartWidgetSettingsForm.get('legendShowTotal').disable();
} else { } else {
latestChartWidgetSettingsForm.get('totalValueFont').disable(); latestChartWidgetSettingsForm.get('totalValueFont').disable();
latestChartWidgetSettingsForm.get('totalValueColor').disable(); latestChartWidgetSettingsForm.get('totalValueColor').disable();
latestChartWidgetSettingsForm.get('legendShowTotal').enable();
} }
} }
} }

Loading…
Cancel
Save