From 43246150833e7d565a5a67ec7026822bd9879cb9 Mon Sep 17 00:00:00 2001 From: Mashy Date: Tue, 21 Jan 2020 15:54:29 +1000 Subject: [PATCH] fix vbox info / highlight state when interacting with constructs (unequip) --- client/src/components/instance.constructs.jsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/src/components/instance.constructs.jsx b/client/src/components/instance.constructs.jsx index 5a752394..7877c584 100644 --- a/client/src/components/instance.constructs.jsx +++ b/client/src/components/instance.constructs.jsx @@ -60,6 +60,10 @@ const addState = connect( } function setItemUnequip(v) { + const info = v.length ? v[1] : null; + dispatch(actions.setVboxInfo(info)); + dispatch(actions.setVboxCombiner(null)); + dispatch(actions.setVboxHighlight(false)); dispatch(actions.setVboxSelected({ storeSelect: [], stashSelect: [] })); return dispatch(actions.setItemUnequip(v)); }