mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
fix js syntax
This commit is contained in:
parent
1dc01fa8e2
commit
65782d3a6b
@ -174,10 +174,10 @@ export default {
|
|||||||
this.modal.showModal = false;
|
this.modal.showModal = false;
|
||||||
},
|
},
|
||||||
buildLocation(id, type) {
|
buildLocation(id, type) {
|
||||||
if (type == 'person') {
|
if (type === 'person') {
|
||||||
// TODO i18n
|
// TODO i18n
|
||||||
return `/fr/person/${id}/general`;
|
return `/fr/person/${id}/general`;
|
||||||
} else if (type == 'thirdparty') {
|
} else if (type === 'thirdparty') {
|
||||||
return `/fr/thirdparty/thirdparty/${id}/show`;
|
return `/fr/thirdparty/thirdparty/${id}/show`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user