mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
style adjustment + if contact display qualité
This commit is contained in:
parent
ab5bb3963b
commit
fd0ca3b29d
@ -124,13 +124,17 @@ export default {
|
|||||||
return !(this.thirdparty.parent === null || this.thirdparty.parent === undefined);
|
return !(this.thirdparty.parent === null || this.thirdparty.parent === undefined);
|
||||||
},
|
},
|
||||||
getProfession() {
|
getProfession() {
|
||||||
let profession = []
|
if (this.hasParent) {
|
||||||
|
console.log('im here')
|
||||||
if (this.thirdparty.category) {
|
let profession = []
|
||||||
profession = this.thirdparty.category.map((category) => category.text);
|
profession.push(this.thirdparty.profession.name.fr)
|
||||||
|
return profession;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!this.hasParent && this.thirdparty.category) {
|
||||||
|
return this.thirdparty.category.map((category) => category.text);
|
||||||
}
|
}
|
||||||
|
|
||||||
return profession
|
|
||||||
}
|
}
|
||||||
/* TODO need backend normalizer to serve children without circular reference
|
/* TODO need backend normalizer to serve children without circular reference
|
||||||
hasChildren() {
|
hasChildren() {
|
||||||
@ -154,7 +158,7 @@ export default {
|
|||||||
|
|
||||||
.list-item {
|
.list-item {
|
||||||
&::after {
|
&::after {
|
||||||
content: "|";
|
content: " | ";
|
||||||
}
|
}
|
||||||
&:last-child::after {
|
&:last-child::after {
|
||||||
content: ""
|
content: ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user