diff --git a/packages/my-joy-beta/src/containers/instances/list.js b/packages/my-joy-beta/src/containers/instances/list.js index 350f8028..2455fe27 100644 --- a/packages/my-joy-beta/src/containers/instances/list.js +++ b/packages/my-joy-beta/src/containers/instances/list.js @@ -222,7 +222,8 @@ export default compose( const allowedActions = { start: selected.some(({ state }) => state !== 'RUNNING'), - stop: selected.some(({ state }) => state === 'RUNNING') + stop: selected.some(({ state }) => state === 'RUNNING'), + reboot: selected.some(({ state }) => (['RUNNING', 'STOPPED'].indexOf(state) >= 0)) }; // get mutating statuses