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 ee58aa202..7cfb04651 100644 --- a/src/Bundle/ChillMainBundle/Resources/public/vuejs/OnTheFly/components/OnTheFly.vue +++ b/src/Bundle/ChillMainBundle/Resources/public/vuejs/OnTheFly/components/OnTheFly.vue @@ -174,10 +174,10 @@ export default { this.modal.showModal = false; }, buildLocation(id, type) { - if (type == 'person') { + if (type === 'person') { // TODO i18n return `/fr/person/${id}/general`; - } else if (type == 'thirdparty') { + } else if (type === 'thirdparty') { return `/fr/thirdparty/thirdparty/${id}/show`; } }