Skip to content
Snippets Groups Projects
Commit 45175494 authored by Michael LoTurco's avatar Michael LoTurco
Browse files

adjust bug-causing variable name

parent 5540954d
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment