Skip to content

Commit

Permalink
Code formatting with prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
laszlocseh committed Oct 1, 2021
1 parent e8c51b4 commit 605ff36
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 7 deletions.
13 changes: 10 additions & 3 deletions src/ChartBlock/schema.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,13 @@ const ChartSchema = {
{
id: 'default',
title: 'Default',
fields: ['url', 'filterReplaceString', 'hover_format_xy', 'align', 'min_width'],
fields: [
'url',
'filterReplaceString',
'hover_format_xy',
'align',
'min_width',
],
},
{
id: 'sources',
Expand All @@ -58,8 +64,9 @@ const ChartSchema = {
filterReplaceString: {
type: 'string',
title: 'Filter replace string',
description: 'If given, replace only this string in the transforms/filter section'
},
description:
'If given, replace only this string in the transforms/filter section',
},
chartSources: {
widget: 'object_list',
title: 'Sources',
Expand Down
2 changes: 1 addition & 1 deletion src/ConnectedPlotlyChart/ConnectedChart.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function ConnectedChart(props) {
(chartData || {}).data,
props.provider_data,
props.connected_data_parameters,
props.data.filterReplaceString || ''
props.data.filterReplaceString || '',
)
: (chartData || {}).data || [];
//
Expand Down
13 changes: 10 additions & 3 deletions src/ConnectedPlotlyChart/schema.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,13 @@ const ChartSchema = {
{
id: 'default',
title: 'Default',
fields: ['url', 'filterReplaceString', 'hover_format_xy', 'align', 'min_width'],
fields: [
'url',
'filterReplaceString',
'hover_format_xy',
'align',
'min_width',
],
},
{
id: 'sources',
Expand All @@ -59,8 +65,9 @@ const ChartSchema = {
filterReplaceString: {
type: 'string',
title: 'Filter replace string',
description: 'If given, replace only this string in the transforms/filter section'
},
description:
'If given, replace only this string in the transforms/filter section',
},
hover_format_xy: {
type: 'string',
title: 'Hover format',
Expand Down

0 comments on commit 605ff36

Please sign in to comment.