diff --git a/components/elements/redeemable-action.tsx b/components/elements/redeemable-action.tsx index 73b7ec4..434ac39 100644 --- a/components/elements/redeemable-action.tsx +++ b/components/elements/redeemable-action.tsx @@ -240,6 +240,19 @@ const actionTypes = [ } ] }, + { + "name": "Veadotube - Set State", + "value": ActionType.VEADOTUBE_SET_STATE, + "inputs": [ + { + "type": "text", + "label": "State", + "key": "state", + "placeholder": "state #1", + "required": true + } + ] + }, ] const nameSchema = z.string({ @@ -321,7 +334,6 @@ const RedemptionAction = ({ } info.data = actionData - if (isNew) { axios.post("/api/settings/redemptions/actions", info) .then(d => {