mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-25 18:48:58 -06:00
fix: responses not visible when sdk not connected (#1074)
This commit is contained in:
@@ -26,7 +26,7 @@ export default function ResponseTimeline({
|
||||
}: ResponseTimelineProps) {
|
||||
return (
|
||||
<div className="space-y-4">
|
||||
{survey.type === "web" && !environment.widgetSetupCompleted ? (
|
||||
{survey.type === "web" && responses.length === 0 && !environment.widgetSetupCompleted ? (
|
||||
<EmptyInAppSurveys environment={environment} />
|
||||
) : responses.length === 0 ? (
|
||||
<EmptySpaceFiller
|
||||
|
||||
@@ -48,7 +48,7 @@ export default function SummaryList({ environment, survey, responses }: SummaryL
|
||||
return (
|
||||
<>
|
||||
<div className="mt-10 space-y-8">
|
||||
{survey.type === "web" && !environment.widgetSetupCompleted ? (
|
||||
{survey.type === "web" && responses.length === 0 && !environment.widgetSetupCompleted ? (
|
||||
<EmptyInAppSurveys environment={environment} />
|
||||
) : responses.length === 0 ? (
|
||||
<EmptySpaceFiller
|
||||
|
||||
Reference in New Issue
Block a user