Fix in itPost
This commit is contained in:
parent
8f5eebed1f
commit
d1615954df
|
|
@ -29,6 +29,7 @@ export const itPost = (url: RequestInfo, data: unknown, options: RequestInit = {
|
||||||
},
|
},
|
||||||
options?.headers
|
options?.headers
|
||||||
) as HeadersInit;
|
) as HeadersInit;
|
||||||
|
options.headers = headers;
|
||||||
|
|
||||||
options = Object.assign(
|
options = Object.assign(
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -26,23 +26,23 @@
|
||||||
:text="question.question"
|
:text="question.question"
|
||||||
/>
|
/>
|
||||||
<VerticalBarChart
|
<VerticalBarChart
|
||||||
class="mb-8 bg-white"
|
|
||||||
v-else-if="verticalChartKyes.includes(question.key)"
|
v-else-if="verticalChartKyes.includes(question.key)"
|
||||||
|
class="mb-8 bg-white"
|
||||||
:title="`${$t('feedback.questionTitle')} ${i + 1}`"
|
:title="`${$t('feedback.questionTitle')} ${i + 1}`"
|
||||||
:ratings="feedbackData.questions[question.key]"
|
:ratings="feedbackData.questions[question.key]"
|
||||||
:text="question.question"
|
:text="question.question"
|
||||||
:ratio="0.2"
|
:ratio="0.2"
|
||||||
/>
|
/>
|
||||||
<OpenFeedback
|
<OpenFeedback
|
||||||
class="mb-8 bg-white"
|
|
||||||
v-else-if="openKeys.includes(question.key)"
|
v-else-if="openKeys.includes(question.key)"
|
||||||
|
class="mb-8 bg-white"
|
||||||
:title="`${$t('feedback.questionTitle')} ${i + 1}`"
|
:title="`${$t('feedback.questionTitle')} ${i + 1}`"
|
||||||
:text="question.question"
|
:text="question.question"
|
||||||
:answers="feedbackData.questions[question.key].filter((a: string) => a !== '')"
|
:answers="feedbackData.questions[question.key].filter((a: string) => a !== '')"
|
||||||
></OpenFeedback>
|
></OpenFeedback>
|
||||||
<HorizontalBarChart
|
<HorizontalBarChart
|
||||||
class="mb-8 bg-white"
|
|
||||||
v-else-if="horizontalChartKeys.includes(question.key)"
|
v-else-if="horizontalChartKeys.includes(question.key)"
|
||||||
|
class="mb-8 bg-white"
|
||||||
:title="`${$t('feedback.questionTitle')} ${i}`"
|
:title="`${$t('feedback.questionTitle')} ${i}`"
|
||||||
:text="question.question"
|
:text="question.question"
|
||||||
:items="feedbackData.questions[question.key].map((a: string) => `${a}%`)"
|
:items="feedbackData.questions[question.key].map((a: string) => `${a}%`)"
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
encrypted: env_secrets/caprover_dev.env
|
encrypted: env_secrets/caprover_dev.env
|
||||||
encrypted: env_secrets/caprover_prod.env
|
encrypted: env_secrets/caprover_prod.env
|
||||||
encrypted: env_secrets/caprover_stage.env
|
encrypted: env_secrets/caprover_stage.env
|
||||||
encrypted: env_secrets/local_chrigu.env
|
encrypted: env_secrets/local_chrigu.env
|
||||||
encrypted: env_secrets/local_daniel.env
|
encrypted: env_secrets/local_daniel.env
|
||||||
encrypted: env_secrets/local_elia.env
|
encrypted: env_secrets/local_elia.env
|
||||||
encrypted: env_secrets/local_lorenz.env
|
encrypted: env_secrets/local_lorenz.env
|
||||||
encrypted: env_secrets/production.env
|
encrypted: env_secrets/production.env
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue