fix js syntax

This commit is contained in:
Mathieu Jaumotte 2021-10-01 13:11:34 +02:00
parent 1dc01fa8e2
commit 65782d3a6b

View File

@ -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`;
}
}