6
6
<TeeForm
7
7
v-if =" form"
8
8
:data-id =" currentProgram.id"
9
- :show-c-e-logo =" !isProgramAutonomous "
9
+ :show-c-e-logo =" true "
10
10
:phone-callback =" phoneCallback"
11
11
:form =" form"
12
12
:form-type =" OpportunityType.Program"
@@ -22,7 +22,6 @@ import { computed } from 'vue'
22
22
import { storeToRefs } from ' pinia'
23
23
import { useProgramStore } from ' @/stores/program'
24
24
import Opportunity from ' @/tools/opportunity'
25
- import Program from ' @/tools/program/program'
26
25
import Translation from ' @/tools/translation'
27
26
import { OpportunityType } from ' @/types'
28
27
@@ -33,10 +32,6 @@ defineProps<Props>()
33
32
34
33
const { currentProgram } = storeToRefs (useProgramStore ())
35
34
36
- const isProgramAutonomous = computed (() => {
37
- return Program .isProgramAutonomous (currentProgram .value )
38
- })
39
-
40
35
const form = computed (() => {
41
36
if (! currentProgram .value ) {
42
37
return undefined
@@ -45,13 +40,7 @@ const form = computed(() => {
45
40
return Opportunity .getProgramFormFields (currentProgram .value )
46
41
})
47
42
48
- const phoneCallback = computed (() =>
49
- isProgramAutonomous .value
50
- ? Translation .t (' form.phoneContactAutonomy' , {
51
- operator: currentProgram .value ?.[' opérateur de contact' ]
52
- })
53
- : Translation .t (' form.phoneContactCE' )
54
- )
43
+ const phoneCallback = computed (() => Translation .t (' form.phoneContactCE' ))
55
44
56
45
const errorEmailSubject = computed (() =>
57
46
Translation .t (' program.form.errorEmail.subject' , {
0 commit comments