card products issue resolved

This commit is contained in:
anju j 2022-01-24 18:16:48 +05:30
parent e1f84cc625
commit 29509c005a
4 changed files with 15 additions and 5 deletions

View File

@ -1 +1 @@
{"branch_name":"beta","last_commit_date":"2022-01-24T07:20:19.000Z","last_commit_author":"rakesh","last_commit_hash":"aa8e69ef45c86de9ea029d1aaa3db3c67a80dbcb"} {"branch_name":"dev","last_commit_date":"2022-01-24T12:20:04.000Z","last_commit_author":"rakesh","last_commit_hash":"e1f84cc625b52b02d5f72d000cb3486c6d7446aa"}

View File

@ -1,6 +1,6 @@
<template> <template>
<div> <div>
<v-row v-if="searchResults.page.length" class="mx-4"> <v-row v-if="searchResults.page.length && !inProgress" class="mx-4">
<v-col cols="12" lg="12" md="12" sm="12" > <v-col cols="12" lg="12" md="12" sm="12" >
<v-row v-if="inProgress"> <v-row v-if="inProgress">
<v-col <v-col
@ -100,7 +100,15 @@
lg="12" lg="12"
md="12" md="12"
sm="12" sm="12"
cols="12"> cols="12" v-if="inProgress">
<v-progress-circular :size="20" color="primary" indeterminate ></v-progress-circular>
</v-col>
<v-col
lg="12"
md="12"
sm="12"
cols="12" v-else>
<v-alert type="error" text class="font-weight-300 body-font h3">{{ <v-alert type="error" text class="font-weight-300 body-font h3">{{
noProducts noProducts
}}</v-alert> }}</v-alert>

View File

@ -34,6 +34,9 @@
<v-card tile flat v-if="searchData"> <v-card tile flat v-if="searchData">
<RetailerSearchProducts @actionClose="showSnackBarMessage" /> <RetailerSearchProducts @actionClose="showSnackBarMessage" />
</v-card> </v-card>
<v-card v-else>
<div class="fontcolor-bordeaux pa-1">Please type Item, Name, or Keyword to search</div>
</v-card>
</div> </div>
</v-menu> </v-menu>
</v-col> </v-col>

View File

@ -135,8 +135,7 @@ export const catalogBrowser = {
commit('inProgress', true) commit('inProgress', true)
console.log('searching:', pageNumber) await new Promise((resolve) => setTimeout(resolve, 1000));
console.log('pageSize:', pageSize)
// commit('setEnabledFilters', filters) // commit('setEnabledFilters', filters)
// debugger // debugger
const products = [] const products = []