diff --git a/client/src/components/vbox.stash.jsx b/client/src/components/vbox.stash.jsx index 0e737627..3d2f85dd 100644 --- a/client/src/components/vbox.stash.jsx +++ b/client/src/components/vbox.stash.jsx @@ -9,7 +9,7 @@ const buttons = require('./buttons'); const { removeTier } = require('../utils'); const addState = connect( - ({ itemUnequip, vboxHighlight, vboxSelected, tutorial }) => ({ itemUnequip, vboxHighlight, vboxSelected, tutorial })); + ({ itemUnequip, vboxHighlight, vboxSelected, tutorial, instance }) => ({ itemUnequip, vboxHighlight, vboxSelected, tutorial, instance })); class stashElement extends preact.Component { shouldComponentUpdate(newProps) { @@ -41,6 +41,7 @@ class stashElement extends preact.Component { vboxHighlight, vboxSelected, tutorial, + instance, } = props; const { storeSelect, stashSelect } = vboxSelected; @@ -97,7 +98,7 @@ class stashElement extends preact.Component { : `${border} ${notValidCombo ? 'fade' : ''}`; const invObject = shapes[v] ? shapes[v]() : v; - const tutorialDisable = tutorial === 1; + const tutorialDisable = tutorial === 1 && instance.time_control === 'Practice' && instance.rounds.length === 1; return (