Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

Commit

Permalink
fix(datepickerinput): update logic for displaying icon for carbonX (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jendowns authored and emyarod committed Feb 21, 2019
1 parent 36b2849 commit 42c4c07
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/DatePickerInput/DatePickerInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ export default class DatePickerInput extends Component {
});

const datePickerIcon = (() => {
if (datePickerType !== 'single') {
if (!componentsX && datePickerType !== 'single') {
return;
}
if (componentsX && datePickerType === 'simple') {
return;
}
if (componentsX) {
Expand Down

0 comments on commit 42c4c07

Please sign in to comment.