react-bootstrap-front 3.8.0 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -213,6 +213,7 @@ export default class FilterBuilder extends Component {
|
|
|
213
213
|
onChange={this.props.onChange}
|
|
214
214
|
calIcon={this.props.calIcon}
|
|
215
215
|
delIcon={this.props.delIcon}
|
|
216
|
+
allowNull={true}
|
|
216
217
|
/>
|
|
217
218
|
</div>
|
|
218
219
|
{colOper === FILTER_OPER_BETWEEN && this.props.onUpdate &&
|
|
@@ -124,7 +124,7 @@ export default class ActionButton extends Component {
|
|
|
124
124
|
if (elem) {
|
|
125
125
|
return (
|
|
126
126
|
<DropdownMenuOption
|
|
127
|
-
key={`elem-${
|
|
127
|
+
key={`elem-${elem.label}`}
|
|
128
128
|
label={elem.label}
|
|
129
129
|
onClick={ev => {
|
|
130
130
|
if (ev) {
|
|
@@ -166,7 +166,7 @@ export default class ActionButton extends Component {
|
|
|
166
166
|
{this.state.options.map(elem => {
|
|
167
167
|
return (
|
|
168
168
|
<DropdownMenuOption
|
|
169
|
-
key={`elem-${
|
|
169
|
+
key={`elem-${elem.label}`}
|
|
170
170
|
label={elem.label}
|
|
171
171
|
onClick={ev => {
|
|
172
172
|
if (ev) {
|
|
@@ -74,7 +74,11 @@ export default class DesktopListLine extends Component {
|
|
|
74
74
|
}
|
|
75
75
|
this.props.inlineActions.forEach(action => {
|
|
76
76
|
if (action.role === 'MODIFY') {
|
|
77
|
-
action.
|
|
77
|
+
if (action.param === 'object') {
|
|
78
|
+
action.onClick(this.props.item);
|
|
79
|
+
} else {
|
|
80
|
+
action.onClick(this.props.id);
|
|
81
|
+
}
|
|
78
82
|
}
|
|
79
83
|
});
|
|
80
84
|
return false;
|