fix: no displays for multi language surveys (#4482)

This commit is contained in:
Anshuman Pandey
2024-12-17 16:58:25 +05:30
committed by GitHub
parent 412a873c47
commit fd913ad1fa
2 changed files with 17 additions and 2 deletions

View File

@@ -28,7 +28,22 @@ export const getSurveysForEnvironmentState = reactCache(
variables: true,
type: true,
showLanguageSwitch: true,
languages: true,
languages: {
select: {
default: true,
enabled: true,
language: {
select: {
id: true,
code: true,
alias: true,
createdAt: true,
updatedAt: true,
projectId: true,
},
},
},
},
endings: true,
autoClose: true,
styling: true,

View File

@@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.