Merge pull request #1093 from robintown/widget-feedback-hotfix
Don't show the quality survey if the app is a widget
This commit is contained in:
commit
d3d21fa86c
1 changed files with 10 additions and 1 deletions
|
@ -272,7 +272,16 @@ export function GroupCallView({
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} else if (left) {
|
} else if (left) {
|
||||||
if (isPasswordlessUser || PosthogAnalytics.instance.isEnabled()) {
|
// The call ended view is shown for two reasons: prompting guests to create
|
||||||
|
// an account, and prompting users that have opted into analytics to provide
|
||||||
|
// feedback. We don't show a feedback prompt to widget users however (at
|
||||||
|
// least for now), because we don't yet have designs that would allow widget
|
||||||
|
// users to dismiss the feedback prompt and close the call window without
|
||||||
|
// submitting anything.
|
||||||
|
if (
|
||||||
|
isPasswordlessUser ||
|
||||||
|
(PosthogAnalytics.instance.isEnabled() && !isEmbedded)
|
||||||
|
) {
|
||||||
return (
|
return (
|
||||||
<CallEndedView
|
<CallEndedView
|
||||||
endedCallId={groupCall.groupCallId}
|
endedCallId={groupCall.groupCallId}
|
||||||
|
|
Loading…
Add table
Reference in a new issue