0👍
✅
You can use vue.js Conditional Rendering v-if/v-else
to achieve.
<div v-if="computedList.length">
// Your parts table will come here.
</div>
<div v-else>
// No results div will display here
</div>
I just gave you a way to achieve the requirement. You can modify the condition as per your need.
Source:stackexchange.com