When I run this script :
<div class="description text-left" v-for="cases in siteObject"> <div class="description text-left" v-for="item in siteObject.cases"> <small><strong>{{item.x_con_title}}</strong> </small> </div> </div> I have this result :
Closed Closed Closed Open-Dispatch Closed Closed Closed I don't want to show the closed. I have tried with this condition:
Cases() { return this.siteObject.Cases.filter(info => info.x_con_title === "Open-Dispatch"); } but nothing changes; I have always the same result
<>snippet editor and include vue.jssiteObject.casesorsiteObject.Cases? .. better name this computed propertyCases()(if what's what it is) differently to avoid confusion and make it easier for yourself (because you already have a valuesiteObject.CasesI assume - the full list), you can name this one something like:filteredCases() { ... }. you filter method is ok btwcases in siteObjectand thenitem in siteObject.cases? Do you meanitem in casesinstead?