adjust bug-causing variable name

This commit is contained in:
Michael LoTurco
2018-03-28 08:42:59 -04:00
parent 5540954dee
commit 45175494ed

View File

@@ -9,9 +9,9 @@ const clearFormState = {
const form = (state = {}, action) => {
switch (action.type) {
case formActions.OPEN_REISSUE_FORM:
return { ...state, type: formTypes.REISSUE, isOpen: true, activeEntitlement: action.entitlement };
return { ...state, formType: formTypes.REISSUE, isOpen: true, activeEntitlement: action.entitlement };
case formActions.OPEN_CREATION_FORM:
return { ...state, type: formTypes.CREATE, isOpen: true, activeEntitlement: null };
return { ...state, formType: formTypes.CREATE, isOpen: true, activeEntitlement: null };
case formActions.CLOSE_FORM:
case entitlementActions.reissue.SUCCESS:
case entitlementActions.create.SUCCESS: