File tree Expand file tree Collapse file tree
front-end/src/components/blog Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6363
6464 <div v-for =" tab in tabs" :key =" tab.id" >
6565 <div v-if =" activeTab === tab.id" >
66- <!-- <h2 class="text-2xl md:text-3xl font-bold pt-4 md:pt-5 text-gray-900 dark:text-white">
67- {{ tab.label }}
68- </h2> -->
6966 <div class =" flex items-center justify-center p-2 md:p-5 mt-6" >
7067 <div class =" grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-2 md:gap-4" >
7168 <div v-for =" item in filteredItems(tab.id)" :key =" item._id" >
8279 </div >
8380 </div >
8481 </div >
82+ <div
83+ v-if ="
84+ (filteredItems(tab.id).length < 1 || !filteredItems(tab.id).length) &&
85+ searchQuery.length > 0
86+ "
87+ class =" flex flex-col justify-center items-center h-auto"
88+ >
89+ <h1 class =" text-2xl font-bold text-gray-900 dark:text-white" >Aucun article trouvé</h1 >
90+ </div >
8591 </div >
8692 </div >
8793 </div >
You can’t perform that action at this time.
0 commit comments