allow survey type to be changed after publishing

This commit is contained in:
Matthias Nannt
2023-05-11 19:43:08 +02:00
parent fbfc80dd4e
commit e3f5bba755

View File

@@ -89,8 +89,7 @@ export default function HowToSendCard({ localSurvey, setLocalSurvey }: HowToSend
defaultValue="web"
value={localSurvey.type}
onValueChange={setSurveyType}
className="flex flex-col space-y-3"
disabled={localSurvey.status !== "draft"}>
className="flex flex-col space-y-3">
{options.map((option) => (
<Label
key={option.id}