We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd601ab commit e74f327Copy full SHA for e74f327
1 file changed
SingularityUI/app/components/machines/Racks.jsx
@@ -41,7 +41,7 @@ const Racks = (props) => {
41
</FormModalButton>
42
);
43
44
- const getMaybeDecommissionButton = (rack) => (rack.currentState.state === 'ACTIVE' && (
+ const getMaybeDecommissionButton = (rack) => (Utils.isIn(rack.currentState.state, ['ACTIVE', 'FROZEN']) && (
45
<FormModalButton
46
name="Decommission Rack"
47
buttonChildren={<Glyphicon glyph="trash" />}
0 commit comments