Skip to content

Commit 6288327

Browse files
nicolaskruchtenVeraZab
authored andcommitted
test fix try
1 parent 57dd8ba commit 6288327

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/fields/AxesSelector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class AxesSelector extends Component {
3131
option.value === 'allaxes'
3232
? option
3333
: {
34-
label: option.title,
34+
label: option.title.text,
3535
value: option.value,
3636
}
3737
)

src/lib/getAllAxes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export function getAxisTitle(axis) {
8484
const subplotNumber = getAxisNumber(axis) || 1;
8585

8686
return axis._input && axis._input.title
87-
? striptags(`${axisType}: ${axis._input.title}`)
87+
? striptags(`${axisType}: ${axis._input.title.text}`)
8888
: striptags(`${axisType} ${subplotNumber}`);
8989
}
9090

0 commit comments

Comments
 (0)