Skip to content

Commit

Permalink
pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Always-prog committed Feb 15, 2024
1 parent 2b33281 commit 78d19c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { PivotData, flatKey } from './utilities';
import { Styles } from './Styles';

const parseLabel = value => {
if (typeof value === 'string'){
if (typeof value === 'string') {
if (value === 'metric') return t('metric');
return value;

Check warning on line 29 in superset-frontend/plugins/plugin-chart-pivot-table/src/react-pivottable/TableRenderers.jsx

View check run for this annotation

Codecov / codecov/patch

superset-frontend/plugins/plugin-chart-pivot-table/src/react-pivottable/TableRenderers.jsx#L29

Added line #L29 was not covered by tests
}
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -19188,4 +19188,4 @@ msgstr ""
#: superset-frontend/src/visualizations/dashboardComponents/ExampleComponent/ExampleComponent.tsx:29
#, python-format
msgid "We have the following keys: %s"
msgstr ""
msgstr ""

0 comments on commit 78d19c9

Please sign in to comment.