Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jay Mehta
/
zango-frontend
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 90695a54
authored
2024-06-29 12:58:37 +0530
by
jaymehta
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
.
1 parent
1eec64c6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
5 additions
and
6 deletions
components/admin/Reviews.js
components/admin/ReviewsListing.js
components/home/SearchBar.js
components/layout/Header.js
components/listing/LetDiscover.js
components/listing/ListingInner.js
components/vendor/ActivityListingRBAC.js
components/admin/Reviews.js
View file @
90695a5
...
...
@@ -179,7 +179,6 @@ const Reviews = ({ isVendor }) => {
};
})
);
// dispatch(getActivitiesByFilters({}));
},
[
reviews
]);
return
(
...
...
components/admin/ReviewsListing.js
View file @
90695a5
...
...
@@ -89,7 +89,6 @@ const ReviewsListing = ({ activityId, setshowReviews, isVendor }) => {
onClick
=
{
async
()
=>
{
const
res
=
await
deleteReview
({
reviewId
});
dispatch
(
getReviewsAction
({
activityId
}));
// dispatch(getActivitiesByFilters({}));
toast
.
success
(
"Review deleted"
);
setshowModal
(
false
);
// console.log(res);
...
...
components/home/SearchBar.js
View file @
90695a5
...
...
@@ -24,7 +24,7 @@ const SearchBar = () => {
<
Typeahead
open
=
{
open
}
id
=
"select"
placeholder
=
"Search for
products, brand
s or categories"
placeholder
=
"Search for
experience
s or categories"
onBlur
=
{()
=>
{
setopen
(
false
);
}}
...
...
components/layout/Header.js
View file @
90695a5
This diff is collapsed.
Click to expand it.
components/listing/LetDiscover.js
View file @
90695a5
...
...
@@ -42,7 +42,6 @@ const LetDiscover = ({ categories }) => {
// }, [router]);
useEffect
(()
=>
{
console
.
log
(
"router.query.category"
,
router
.
query
.
category
);
// console.log("getting id to filtered categoryiiiiiiiiiiifsdkhdjkskiiiiiiiiiiiiiiiiiiiiiiiii", parseInt(router.query.category))
if
(
router
.
query
.
category
)
{
dispatch
(
setActivityFilters
({
filters
:
{
category
:
Number
(
router
.
query
.
category
),
subCategories
:
[]
}
}));
...
...
components/listing/ListingInner.js
View file @
90695a5
...
...
@@ -100,7 +100,7 @@ const ListingInner = ({ allActivitiesData, loading, totalCount }) => {
dispatch
(
getActivitiesByFilters
({
subCategory
:
filters
.
subCategory
,
category
:
filters
.
category
,
category
:
filters
.
category
?
filters
.
category
:
router
.
query
.
category
,
activityType
:
filters
.
activityType
,
fromDate
:
filters
.
fromDate
,
toDate
:
filters
.
toDate
,
...
...
components/vendor/ActivityListingRBAC.js
View file @
90695a5
...
...
@@ -185,7 +185,9 @@ export const ActivityListingRBAC = ({ setactivityDetailInfo, setShowActivityDeta
filters
:
categoryFilterArray
,
filterMode
:
"tree"
,
filterSearch
:
true
,
onFilter
:
(
value
,
record
)
=>
record
.
category
.
startsWith
(
value
),
onFilter
:
(
value
,
record
)
=>
{
console
.
log
(
value
);
},
width
:
"15%"
},
{
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment