EditUsers
This commit is contained in:
parent
86e9170695
commit
23c92a8523
File diff suppressed because one or more lines are too long
|
@ -5754,6 +5754,7 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins ? BDFDB.myPlugins : {}, BDv2Api
|
||||||
if (this.props.mini && childcomponent.Sizes) this.props.size = childcomponent.Sizes.MINI || childcomponent.Sizes.MIN;
|
if (this.props.mini && childcomponent.Sizes) this.props.size = childcomponent.Sizes.MINI || childcomponent.Sizes.MIN;
|
||||||
let childprops = Object.assign({}, this.props, {onChange: this.handleChange.bind(this)});
|
let childprops = Object.assign({}, this.props, {onChange: this.handleChange.bind(this)});
|
||||||
childprops.className = this.props.childClassName;
|
childprops.className = this.props.childClassName;
|
||||||
|
delete childprops.basis;
|
||||||
delete childprops.dividerbottom;
|
delete childprops.dividerbottom;
|
||||||
delete childprops.dividertop;
|
delete childprops.dividertop;
|
||||||
delete childprops.label;
|
delete childprops.label;
|
||||||
|
@ -5779,8 +5780,10 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins ? BDFDB.myPlugins : {}, BDv2Api
|
||||||
})
|
})
|
||||||
}),
|
}),
|
||||||
BDFDB.React.createElement(LibraryComponents.Flex.Child, {
|
BDFDB.React.createElement(LibraryComponents.Flex.Child, {
|
||||||
grow: 0,
|
grow: this.props.basis ? 1 : 0,
|
||||||
shrink: 0,
|
shrink: 0,
|
||||||
|
basis: this.props.basis || 'auto',
|
||||||
|
wrap: true,
|
||||||
children: BDFDB.React.createElement(childcomponent, childprops)
|
children: BDFDB.React.createElement(childcomponent, childprops)
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
|
|
|
@ -130,7 +130,7 @@ class EditUsers {
|
||||||
]
|
]
|
||||||
}));
|
}));
|
||||||
settingsitems.push(BDFDB.React.createElement(BDFDB.LibraryComponents.SettingsItem, {
|
settingsitems.push(BDFDB.React.createElement(BDFDB.LibraryComponents.SettingsItem, {
|
||||||
type: "Button",
|
type: "BUTTON",
|
||||||
className: BDFDB.disCN.marginbottom8,
|
className: BDFDB.disCN.marginbottom8,
|
||||||
color: BDFDB.LibraryComponents.Button.Colors.RED,
|
color: BDFDB.LibraryComponents.Button.Colors.RED,
|
||||||
label: "Reset all Users",
|
label: "Reset all Users",
|
||||||
|
|
Loading…
Reference in New Issue