diff --git a/packages/my-joy-beta/src/components/instances/list.js b/packages/my-joy-beta/src/components/instances/list.js index a2efdc2b..9c7b301f 100644 --- a/packages/my-joy-beta/src/components/instances/list.js +++ b/packages/my-joy-beta/src/components/instances/list.js @@ -50,7 +50,10 @@ export default ({ Filter instances - + diff --git a/packages/my-joy-beta/src/containers/instances/list.js b/packages/my-joy-beta/src/containers/instances/list.js index 7452b868..402c57dc 100644 --- a/packages/my-joy-beta/src/containers/instances/list.js +++ b/packages/my-joy-beta/src/containers/instances/list.js @@ -145,17 +145,20 @@ export default compose( 'start-snap': () => null }; - const clearSelected = () => dispatch(ids.map(id => { - const form = 'instance-list'; - const field = get(find(instances, ['id', id]), 'name'); - const value = false; + const clearSelected = () => + dispatch( + ids.map(id => { + const form = 'instance-list'; + const field = get(find(instances, ['id', id]), 'name'); + const value = false; - if (!field) { - return; - } + if (!field) { + return; + } - return change(form, field, value); - })); + return change(form, field, value); + }) + ); const fn = types[name]; return fn && fn().then(clearSelected); diff --git a/packages/ui-toolkit/src/form/base/toggle.js b/packages/ui-toolkit/src/form/base/toggle.js index 5f376e07..9ed4c378 100644 --- a/packages/ui-toolkit/src/form/base/toggle.js +++ b/packages/ui-toolkit/src/form/base/toggle.js @@ -130,7 +130,12 @@ const ToggleBase = ({ container = null, type = 'radio' }) => const toggle = ( - +