Skip to content

Commit d7d7e81

Browse files
#16 linting fixes
1 parent 15ec084 commit d7d7e81

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/kpi-widget/src/app/kpi-widget/components/kpi-aggregator-widget-config/kpi-aggregator-widget-config.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ export class KpiAggregatorWidgetConfigComponent implements OnInit {
271271
private setTenantConfigs() {
272272
// override default with branding
273273
if (has(this.optionsService.brandingCssVars, 'brand-primary')) {
274-
this.defaultConfig.color = this.optionsService.brandingCssVars['brand-primary'] as string;
274+
this.defaultConfig.color = this.optionsService.brandingCssVars['brand-primary'];
275275
}
276276
}
277277

packages/kpi-widget/src/app/kpi-widget/models/kpi-aggregator-widget.const.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,27 @@ export const KPI_AGGREGAOR_WIDGET__DISPLAY_OPTIONS: KpiAggregatorWidgetOptions[]
1212
{ value: 'count', label: 'Bar Chart: Count Entries', group: '📊 Bar Chart' },
1313
{ value: 'pieAggregate', label: 'Pie Chart: Aggregate Values', group: '🍰 Pie Chart' },
1414
{ value: 'pieCount', label: 'Pie Chart: Count Entries', group: '🍰 Pie Chart' },
15-
{ value: 'list', label: 'Table' }
15+
{ value: 'list', label: 'Table' },
1616
] as const;
1717

1818
// sort options
1919
export const KPI_AGGREGAOR_WIDGET__SORT_OPTIONS: KpiAggregatorWidgetOptions[] = [
2020
{ value: 'label', label: 'by Label' },
21-
{ value: 'value', label: 'by Value' }
21+
{ value: 'value', label: 'by Value' },
2222
] as const;
2323

2424
// order options
2525
export const KPI_AGGREGAOR_WIDGET_ORDER_OPTIONS: KpiAggregatorWidgetOptions[] = [
2626
{ value: 'asc', label: '↗️ Ascending' },
27-
{ value: 'desc', label: '↘️ Descending' }
27+
{ value: 'desc', label: '↘️ Descending' },
2828
] as const;
2929

3030
// chart legend position options
3131
export const KPI_AGGREGAOR_WIDGET__CHART_LEGEND_POSITION_OPTIONS: KpiAggregatorWidgetOptions[] = [
3232
{ value: 'top', label: '⬆️ Top' },
3333
{ value: 'right', label: '➡️ Right' },
3434
{ value: 'bottom', label: '⬇️ Bottom' },
35-
{ value: 'left', label: '⬅️ Left' }
35+
{ value: 'left', label: '⬅️ Left' },
3636
] as const;
3737

3838
export const KPI_AGGREGAOR_WIDGET__DEFAULT_CONFIG: KpiAggregatorWidgetConfig = {

0 commit comments

Comments
 (0)