mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-22 11:29:22 -05:00
fix: show link options only on published surveys
This commit is contained in:
@@ -222,7 +222,7 @@ export default function SurveysList({ environmentId }) {
|
||||
Delete
|
||||
</button>
|
||||
</DropdownMenuItem>
|
||||
{survey.type === "link" && (
|
||||
{survey.type === "link" && survey.status !== "draft" && (
|
||||
<>
|
||||
<DropdownMenuItem>
|
||||
<a
|
||||
|
||||
Reference in New Issue
Block a user