Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Commit

Permalink
fix code #742
Browse files Browse the repository at this point in the history
  • Loading branch information
Dunkat committed May 15, 2017
1 parent dce834a commit 1bc2c32
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/components/app/OverlayField.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class OverlayField extends Component {
break;
case 'Delete':
clearData && clearData();
break;
}
}

Expand Down Expand Up @@ -60,23 +61,19 @@ class OverlayField extends Component {
entity="documentView"
subentity="filter"
subentityId={layout.filterId}
handlePatch={handlePatch}
handleChange={handleChange}
widgetType={item.widgetType}
fields={[item]}
windowType={windowType}
type={item.type}
widgetData={[item]}
key={index}
id={index}
range={item.range}
onShow={onShow}
onHide={onHide}
caption={item.caption}
noLabel={false}
filterWidget={true}
viewId={viewId}
autoFocus={index === 0}
{...{handlePatch, handleChange, windowType, onShow, onHide,
viewId}}
/>
)
})
Expand Down

0 comments on commit 1bc2c32

Please sign in to comment.