mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-14 10:30:31 -06:00
fix: build errors (#981)
This commit is contained in:
@@ -61,6 +61,7 @@ export default function ResponseFeed({
|
||||
<SurveyStatusIndicator
|
||||
status={response.survey.status}
|
||||
environment={environment}
|
||||
type={response.survey.type}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -105,7 +105,11 @@ const SummaryHeader = ({
|
||||
disabled={isStatusChangeDisabled}
|
||||
style={isStatusChangeDisabled ? { pointerEvents: "none", opacity: 0.5 } : {}}>
|
||||
<div className="flex items-center">
|
||||
<SurveyStatusIndicator status={survey.status} environment={environment} />
|
||||
<SurveyStatusIndicator
|
||||
status={survey.status}
|
||||
environment={environment}
|
||||
type={survey.type}
|
||||
/>
|
||||
<span className="ml-1 text-sm text-slate-700">
|
||||
{survey.status === "inProgress" && "In-progress"}
|
||||
{survey.status === "paused" && "Paused"}
|
||||
|
||||
@@ -35,7 +35,7 @@ export default function SurveyStatusDropdown({
|
||||
<>
|
||||
{survey.status === "draft" ? (
|
||||
<div className="flex items-center">
|
||||
<SurveyStatusIndicator status={survey.status} environment={environment} />
|
||||
<SurveyStatusIndicator status={survey.status} environment={environment} type={survey.type} />
|
||||
{survey.status === "draft" && <p className="text-sm italic text-slate-600">Draft</p>}
|
||||
</div>
|
||||
) : (
|
||||
@@ -69,7 +69,11 @@ export default function SurveyStatusDropdown({
|
||||
<SelectTrigger className="w-[170px] bg-white py-6 md:w-[200px]">
|
||||
<SelectValue>
|
||||
<div className="flex items-center">
|
||||
<SurveyStatusIndicator status={survey.status} environment={environment} />
|
||||
<SurveyStatusIndicator
|
||||
status={survey.status}
|
||||
environment={environment}
|
||||
type={survey.type}
|
||||
/>
|
||||
<span className="ml-2 text-sm text-slate-700">
|
||||
{survey.status === "inProgress" && "In-progress"}
|
||||
{survey.status === "paused" && "Paused"}
|
||||
|
||||
Reference in New Issue
Block a user