From d11c6a6c7221f88870132a4d119ca3f6055f95db Mon Sep 17 00:00:00 2001 From: cha0s Date: Tue, 28 May 2019 20:35:32 -0500 Subject: [PATCH] chore: simplify --- server/fixtures/hoe.entity.js | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/server/fixtures/hoe.entity.js b/server/fixtures/hoe.entity.js index 4d840df..f56f2fa 100644 --- a/server/fixtures/hoe.entity.js +++ b/server/fixtures/hoe.entity.js @@ -28,20 +28,15 @@ export function hoeJSON() { }, tool: { params: { - condition: buildCondition( - 'or', - [ - buildCondition('contains', [ - [1, 2, 3, 4], - buildInvoke( - ['user', 'layer', 'tileAt'], - [ - buildTraversal(['target']), - ], - ), - ]), - ], - ), + condition: buildCondition('contains', [ + [1, 2, 3, 4], + buildInvoke( + ['user', 'layer', 'tileAt'], + [ + buildTraversal(['target']), + ], + ), + ]), actions: { type: 'actions', traversals: [