EditUsers

This commit is contained in:
Mirco Wittrien 2019-10-17 09:21:51 +02:00
parent 86e9170695
commit 23c92a8523
3 changed files with 6 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -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;
let childprops = Object.assign({}, this.props, {onChange: this.handleChange.bind(this)});
childprops.className = this.props.childClassName;
delete childprops.basis;
delete childprops.dividerbottom;
delete childprops.dividertop;
delete childprops.label;
@ -5779,8 +5780,10 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins ? BDFDB.myPlugins : {}, BDv2Api
})
}),
BDFDB.React.createElement(LibraryComponents.Flex.Child, {
grow: 0,
grow: this.props.basis ? 1 : 0,
shrink: 0,
basis: this.props.basis || 'auto',
wrap: true,
children: BDFDB.React.createElement(childcomponent, childprops)
})
]

View File

@ -130,7 +130,7 @@ class EditUsers {
]
}));
settingsitems.push(BDFDB.React.createElement(BDFDB.LibraryComponents.SettingsItem, {
type: "Button",
type: "BUTTON",
className: BDFDB.disCN.marginbottom8,
color: BDFDB.LibraryComponents.Button.Colors.RED,
label: "Reset all Users",