From 65782d3a6bab379f66846cc739b653340e16f376 Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Fri, 1 Oct 2021 13:11:34 +0200 Subject: [PATCH] fix js syntax --- .../Resources/public/vuejs/OnTheFly/components/OnTheFly.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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`; } }