mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-06 13:49:54 -06:00
fix link survey pausable when sdk not initialized
This commit is contained in:
@@ -126,9 +126,10 @@ export default function SummaryMetadata({ surveyId, environmentId }) {
|
||||
<ShareIcon className="h-5 w-5" />
|
||||
</Button>
|
||||
)}
|
||||
{environment.widgetSetupCompleted && (
|
||||
<SurveyStatusDropdown surveyId={surveyId} environmentId={environmentId} />
|
||||
)}
|
||||
{environment.widgetSetupCompleted ||
|
||||
(survey.type === "link" && (
|
||||
<SurveyStatusDropdown surveyId={surveyId} environmentId={environmentId} />
|
||||
))}
|
||||
<Button className="ml-1.5 h-full" href={`/environments/${environmentId}/surveys/${surveyId}/edit`}>
|
||||
<PencilSquareIcon className="mr-2 h-5 w-5 text-white" /> Edit Survey
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user