Eslint correction always return something in computed property

This commit is contained in:
Julie Lenaerts 2024-10-31 19:11:49 +01:00
parent 273f91fd00
commit 96f73b419d

View File

@ -77,8 +77,9 @@ export default {
return true; return true;
} }
if (this.$props.item.result.parent !== null) { if (this.$props.item.result.parent !== null) {
this.$props.item.result.parent.address !== null; return this.$props.item.result.parent.address !== null;
} }
return false
}, },
hasParent() { hasParent() {
return this.$props.item.result.parent !== null; return this.$props.item.result.parent !== null;