finale fixes

This commit is contained in:
Mirco Wittrien 2019-12-18 20:39:34 +01:00
parent 2d9c644bac
commit ae53cd80c9
2 changed files with 5 additions and 3 deletions

View File

@ -7653,11 +7653,11 @@
}), }),
(BDFDB.ArrayUtils.is(this.props.data) ? this.props.data : [{}]).filter(n => n).map(data => BDFDB.ReactUtils.createElement(LibraryComponents.Card, BDFDB.ObjectUtils.exclude(Object.assign({}, this.props, { (BDFDB.ArrayUtils.is(this.props.data) ? this.props.data : [{}]).filter(n => n).map(data => BDFDB.ReactUtils.createElement(LibraryComponents.Card, BDFDB.ObjectUtils.exclude(Object.assign({}, this.props, {
className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN.cardprimaryoutline, BDFDB.disCN.settingstablecard, this.props.cardClassName), className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN.cardprimaryoutline, BDFDB.disCN.settingstablecard, this.props.cardClassName),
id: data.id, cardId: data.key,
key: data.key,
backdrop: false, backdrop: false,
children: [ children: [
BDFDB.ReactUtils.createElement(LibraryComponents.Flex, { BDFDB.ReactUtils.createElement(LibraryComponents.Flex, {
align: LibraryComponents.Flex.Align.CENTER,
children: this.props.renderLabel(data) children: this.props.renderLabel(data)
}), }),
BDFDB.ReactUtils.createElement(LibraryComponents.Flex, { BDFDB.ReactUtils.createElement(LibraryComponents.Flex, {
@ -7672,6 +7672,8 @@
shrink: 0, shrink: 0,
wrap: true, wrap: true,
children: BDFDB.ReactUtils.createElement(LibraryComponents.Checkbox, { children: BDFDB.ReactUtils.createElement(LibraryComponents.Checkbox, {
cardId: data.key,
settingId: setting,
shape: LibraryComponents.Checkbox.Shapes.ROUND, shape: LibraryComponents.Checkbox.Shapes.ROUND,
type: LibraryComponents.Checkbox.Types.INVERTED, type: LibraryComponents.Checkbox.Types.INVERTED,
value: data[setting], value: data[setting],

File diff suppressed because one or more lines are too long