diff --git a/src/Bundle/ChillMainBundle/Resources/public/vuejs/OnTheFly/components/OnTheFly.vue b/src/Bundle/ChillMainBundle/Resources/public/vuejs/OnTheFly/components/OnTheFly.vue
index 710cfe240..b65a2c26b 100644
--- a/src/Bundle/ChillMainBundle/Resources/public/vuejs/OnTheFly/components/OnTheFly.vue
+++ b/src/Bundle/ChillMainBundle/Resources/public/vuejs/OnTheFly/components/OnTheFly.vue
@@ -30,10 +30,10 @@
ref="castPerson">
-
{{ $t('onthefly.resource_comment_title') }}
-
- {{ parent.comment }}
-
+
{{ $t('onthefly.resource_comment_title') }}
+
+ {{ parent.comment }}
+
@@ -45,10 +45,10 @@
ref="castThirdparty">
-
{{ $t('onthefly.resource_comment_title') }}
-
- {{ parent.comment }}
-
+
{{ $t('onthefly.resource_comment_title') }}
+
+ {{ parent.comment }}
+
@@ -114,11 +114,11 @@ export default {
computed: {
hasResourceComment() {
//console.log('hasResourceComment', this.parent);
- return (typeof this.parent !== 'undefined' && this.parent !== null)
- && this.action === 'show'
- && this.parent.type === 'accompanying_period_resource'
- && (this.parent.comment !== null && this.parent.comment !== '')
- ;
+ return (typeof this.parent !== 'undefined' && this.parent !== null)
+ && this.action === 'show'
+ && this.parent.type === 'accompanying_period_resource'
+ && (this.parent.comment !== null && this.parent.comment !== '')
+ ;
},
classAction() {
switch (this.action) {
diff --git a/src/Bundle/ChillMainBundle/Resources/public/vuejs/OnTheFly/i18n.js b/src/Bundle/ChillMainBundle/Resources/public/vuejs/OnTheFly/i18n.js
index 178203807..0f4d4098a 100644
--- a/src/Bundle/ChillMainBundle/Resources/public/vuejs/OnTheFly/i18n.js
+++ b/src/Bundle/ChillMainBundle/Resources/public/vuejs/OnTheFly/i18n.js
@@ -19,8 +19,8 @@ const ontheflyMessages = {
},
addContact: {
title: "Créer un contact pour {q}"
- }
- resource_comment_title: "Un commentaire est associé à cet interlocuteur"
+ },
+ resource_comment_title: "Un commentaire est associé à cet interlocuteur",
addContact: {
title: "Créer un contact pour {q}"
}