adjust bug-causing variable name
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user